diff options
| author | 2009-04-20 13:29:58 +0000 | |
|---|---|---|
| committer | 2009-04-20 13:29:58 +0000 | |
| commit | 828f256a9bd8278540bf4beede36c485e2c3e86f (patch) | |
| tree | 1b3c70d8c4363ca083c4b378f0459a8bbb9b3445 /src/modules/m_spanningtree/main.cpp | |
| parent | Initialize loopCall on construction (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/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 01048e4d1..b38929ad0 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -677,6 +677,8 @@ void ModuleSpanningTree::OnUserPostNick(User* user, const std::string &oldnick) void ModuleSpanningTree::OnUserKick(User* source, User* user, Channel* chan, const std::string &reason, bool &silent) { + if (loopCall) + return; if ((source) && (IS_LOCAL(source))) { std::deque<std::string> params; |
