summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket2.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_spanningtree/treesocket2.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_spanningtree/treesocket2.cpp')
-rw-r--r--src/modules/m_spanningtree/treesocket2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp
index 3e3fbd71e..b298ae369 100644
--- a/src/modules/m_spanningtree/treesocket2.cpp
+++ b/src/modules/m_spanningtree/treesocket2.cpp
@@ -451,7 +451,7 @@ bool TreeSocket::ProcessLine(std::string &line)
User* user = this->ServerInstance->FindNick(nick);
if (user)
{
- if (!chan->ServerKickUser(user, params[2].c_str(), false, pf->GetName().c_str()))
+ if (!chan->ServerKickUser(user, params[2].c_str(), pf->GetName().c_str()))
/* Yikes, the channels gone! */
delete chan;
}