aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/main.cpp
diff options
context:
space:
mode:
authorGravatar brain2007-11-09 21:51:48 +0000
committerGravatar brain2007-11-09 21:51:48 +0000
commitb94c45340e153254f9dd06ecc3445222f31d0220 (patch)
tree3f0dda82973d84bbbcf08c0e8e1115f89afc3be6 /src/modules/m_spanningtree/main.cpp
parentSame here, fix some minor memory leaks noticed by w00t (diff)
downloadinspircd++-b94c45340e153254f9dd06ecc3445222f31d0220.tar.gz
inspircd++-b94c45340e153254f9dd06ecc3445222f31d0220.tar.bz2
inspircd++-b94c45340e153254f9dd06ecc3445222f31d0220.zip
Roadmap item "Fix jointhrottle to not try 'throttle' clients during a netmerge (requires changing join event to be aware of netmerge?)" -- 1.2 only
requires an extra parameter to OnUserJoin, bool sync. usually false, but FJOIN code during burst sets it to true. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8552 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r--src/modules/m_spanningtree/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 5a04ba27e..3c9a9803e 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -557,7 +557,7 @@ void ModuleSpanningTree::OnBackgroundTimer(time_t curtime)
DoPingChecks(curtime);
}
-void ModuleSpanningTree::OnUserJoin(User* user, Channel* channel, bool &silent)
+void ModuleSpanningTree::OnUserJoin(User* user, Channel* channel, bool sync, bool &silent)
{
// Only do this for local users
if (IS_LOCAL(user))