summaryrefslogtreecommitdiff
path: root/src/modules/m_sakick.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-20 13:29:58 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-20 13:29:58 +0000
commit828f256a9bd8278540bf4beede36c485e2c3e86f (patch)
tree1b3c70d8c4363ca083c4b378f0459a8bbb9b3445 /src/modules/m_sakick.cpp
parent2d7ac3a99bd7eba9b01165acde224dcc1e9cc46e (diff)
Use loopCall to protect OnUserKick rather than the triggerevents hack
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11321 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_sakick.cpp')
-rw-r--r--src/modules/m_sakick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sakick.cpp b/src/modules/m_sakick.cpp
index a9e7c3c0e..769aed7ce 100644
--- a/src/modules/m_sakick.cpp
+++ b/src/modules/m_sakick.cpp
@@ -57,7 +57,7 @@ class CommandSakick : public Command
*/
if (IS_LOCAL(dest))
{
- if (!channel->ServerKickUser(dest, reason, true, servername))
+ if (!channel->ServerKickUser(dest, reason, servername))
delete channel;
Channel* n = ServerInstance->FindChan(parameters[1]);