diff options
| author | 2007-11-09 21:51:48 +0000 | |
|---|---|---|
| committer | 2007-11-09 21:51:48 +0000 | |
| commit | b94c45340e153254f9dd06ecc3445222f31d0220 (patch) | |
| tree | 3f0dda82973d84bbbcf08c0e8e1115f89afc3be6 /src/modules/m_foobar.cpp | |
| parent | Same here, fix some minor memory leaks noticed by w00t (diff) | |
| download | inspircd++-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_foobar.cpp')
| -rw-r--r-- | src/modules/m_foobar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
