summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-16 11:20:43 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-16 11:20:43 +0000
commitb6b739eec2d973a415f8efd41a2faee948d1540a (patch)
treed710ffffe891be08445d49bd7edfa0b0625cc02d /src/modules/m_spanningtree
parent8eaa327bf27001eff1d0bd2ca6f7a56cce7fd6f1 (diff)
RSQUIT/SQUIT is one target only for 1.1. The multi target is going into the 1.2 discussion.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7333 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/rsquit.cpp2
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;
}
}
}