Small optimization to starting the connect user timer

Now the connect user timer is only started when the user which was disconnected
from IRC wants to reconnect, not always.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1213 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-09-21 12:51:43 +00:00
parent 9e68cd3558
commit 0e403e318e
+1 -1
View File
@@ -118,7 +118,7 @@ void CUser::IRCDisconnected() {
SetIRCServer("");
// Get the reconnect going
CZNC::Get().EnableConnectUser();
CheckIRCConnect();
}
CString CUser::ExpandString(const CString& sStr) const {