diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-04 15:11:36 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-04 15:11:36 +0000 |
commit | 9f69a7c9e7002cd4096bac1716d5b1ad59834602 (patch) | |
tree | 80179362d7126ef35982df34da79862aa2b06d2e /src/modules | |
parent | d8f50c5a513c73aeaf45da710e829c4fee1cf8cc (diff) |
Make it buildable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9317 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree/protocolinterface.cpp | 8 |
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); } } } |