From 0e403e318e791ddb91d81cff25095e4c97c9236e Mon Sep 17 00:00:00 2001 From: psychon Date: Sun, 21 Sep 2008 12:51:43 +0000 Subject: [PATCH] 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 --- User.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/User.cpp b/User.cpp index 0c4d9b04..2a83e542 100644 --- a/User.cpp +++ b/User.cpp @@ -118,7 +118,7 @@ void CUser::IRCDisconnected() { SetIRCServer(""); // Get the reconnect going - CZNC::Get().EnableConnectUser(); + CheckIRCConnect(); } CString CUser::ExpandString(const CString& sStr) const {