Make it more clear where the 'IRCConnectEnabled'-flag is checked

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1111 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-07-03 10:16:49 +00:00
parent 34e62cd86a
commit 5c7b586b2d
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -125,6 +125,8 @@ bool CZNC::ConnectUser(CUser *pUser) {
return false;
}
if (!pUser->GetIRCConnectEnabled())
return false;
if (pIRCSock || !pUser->HasServers())
return false;