Restart the CConnectUserTimer after a rehash

That way new ConnectDelay settings are applied immediately, not after the timer
is restart next due to sth else.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1679 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-12-18 16:59:28 +00:00
parent e7c78159f8
commit d08829eecb

View File

@@ -1655,7 +1655,9 @@ bool CZNC::DoRehash(CString& sError)
return false;
}
// Make sure that users that want to connect do so
// Make sure that users that want to connect do so and also make sure a
// new ConnectDelay setting is applied.
DisableConnectUser();
EnableConnectUser();
return true;