Added OnTimerAutoJoin(). Patch from Freman. Thanks :)

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1272 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
silverleo
2008-11-25 10:53:40 +00:00
parent c71565103c
commit 9952e8d2c5
5 changed files with 12 additions and 0 deletions
+2
View File
@@ -669,6 +669,8 @@ void CUser::JoinChans() {
pChan->Disable();
} else {
pChan->IncJoinTries();
MODULECALL(OnTimerAutoJoin(*pChan), this, NULL, continue);
PutIRC("JOIN " + pChan->GetName() + " " + pChan->GetKey());
// Limit the number of joins