mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
4
znc.cpp
4
znc.cpp
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user