From b94c45340e153254f9dd06ecc3445222f31d0220 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 9 Nov 2007 21:51:48 +0000 Subject: 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 --- src/modules/m_foobar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_foobar.cpp') diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp index fb3e8d736..16f2a9863 100644 --- a/src/modules/m_foobar.cpp +++ b/src/modules/m_foobar.cpp @@ -68,10 +68,10 @@ class ModuleFoobar : public Module ServerInstance->Log(DEBUG,"Foobar: User quitting: "+b); } - virtual void OnUserJoin(User* user, Channel* channel, bool &silent) + virtual void OnUserJoin(User* user, Channel* channel, bool sync, bool &silent) { // method called when a user joins a channel - + std::string c = channel->name; std::string b = user->nick; ServerInstance->Log(DEBUG,"Foobar: User "+b+" joined "+c); -- cgit v1.2.3