diff options
-rw-r--r-- | src/modules/m_spanningtree/rsquit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/rsquit.cpp b/src/modules/m_spanningtree/rsquit.cpp index 73b31d511..aa4f924be 100644 --- a/src/modules/m_spanningtree/rsquit.cpp +++ b/src/modules/m_spanningtree/rsquit.cpp @@ -79,6 +79,7 @@ CmdResult cmd_rsquit::Handle (const char** parameters, int pcnt, userrec *user) para[0] = parameters[1]; std::string original_command = std::string("SQUIT ") + parameters[1]; Creator->OnPreCommand("SQUIT", para, 1, user, true, original_command); + return CMD_LOCALONLY; } } } @@ -99,6 +100,7 @@ CmdResult cmd_rsquit::Handle (const char** parameters, int pcnt, userrec *user) ServerInstance->SE->DelFd(sock); sock->Close(); delete sock; + return CMD_LOCALONLY; } } } |