From 4ff0001c260adb74d5259de0f3b43334bdc7683b Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Dec 2005 16:37:05 +0000 Subject: Typo fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2151 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 2b9da4a6c..115264e84 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1583,14 +1583,14 @@ class ModuleSpanningTree : public Module int HandleSquit(char** parameters, int pcnt, userrec* user) { - TreeServer* s = FindServer(quitserver); + TreeServer* s = FindServer(parameters[0]); if (s) { TreeSocket* sock = s->GetSocket(); if (sock) { WriteOpers("*** SQUIT: Server \002%s\002 removed from network by %s",parameters[0],user->nick); - Squit(s,"Server quit by "+std::string(user->nick)+"!"+std::string(user->ident)+"@"+std::string(user->host)); + sock->Squit(s,"Server quit by "+std::string(user->nick)+"!"+std::string(user->ident)+"@"+std::string(user->host)); sock->Close(); } else -- cgit v1.2.3