summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree/protocolinterface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/protocolinterface.cpp b/src/modules/m_spanningtree/protocolinterface.cpp
index d4ef88674..edec3ed54 100644
--- a/src/modules/m_spanningtree/protocolinterface.cpp
+++ b/src/modules/m_spanningtree/protocolinterface.cpp
@@ -137,10 +137,10 @@ void SpanningTreeProtocolInterface::SendUserPrivmsg(User* target, const std::str
TreeServer* serv = Utils->FindServer(target->server);
if (serv)
{
- TreeSocket* sock = serv->GetSock();
+ TreeSocket* sock = serv->GetSocket();
if (sock)
{
- Sock->WriteLine(ServerInstance->Config->GetSID() + " PRIVMSG " + target->nick + " :"+text);
+ sock->WriteLine(ServerInstance->Config->GetSID() + " PRIVMSG " + target->nick + " :"+text);
}
}
}
@@ -150,10 +150,10 @@ void SpanningTreeProtocolInterface::SendUserNotice(User* target, const std::stri
TreeServer* serv = Utils->FindServer(target->server);
if (serv)
{
- TreeSocket* sock = serv->GetSock();
+ TreeSocket* sock = serv->GetSocket();
if (sock)
{
- Sock->WriteLine(ServerInstance->Config->GetSID() + " NOTICE " + target->nick + " :"+text);
+ sock->WriteLine(ServerInstance->Config->GetSID() + " NOTICE " + target->nick + " :"+text);
}
}
}