From 9f69a7c9e7002cd4096bac1716d5b1ad59834602 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 4 Apr 2008 15:11:36 +0000 Subject: Make it buildable git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9317 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/protocolinterface.cpp | 8 ++++---- 1 file 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); } } } -- cgit v1.2.3