diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-04 16:37:05 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-04 16:37:05 +0000 |
commit | 4ff0001c260adb74d5259de0f3b43334bdc7683b (patch) | |
tree | 6f3b77fc51b4c7d0e1116c9120733e4465fda4f4 | |
parent | 85474d31426f6290f47879a5561dcbcc7be13c3b (diff) |
Typo fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2151 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_spanningtree.cpp | 4 |
1 files 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 |