]> jfr.im git - irc/rizon/znc.git/commit
Remove CUser::m_bIRCConnected
authorpsychon <redacted>
Mon, 14 Jul 2008 08:19:57 +0000 (08:19 +0000)
committerpsychon <redacted>
Mon, 14 Jul 2008 08:19:57 +0000 (08:19 +0000)
commitbf3acfe88a793d288dd0cbf3dc5a1c35353996af
treef6ba1e0eb4fcd11aa920edaef0c7b337e0c1efcc
parent7059bf02f65a4c2cf4b104294dd0733335366ed8
Remove CUser::m_bIRCConnected

CUser::GetIRCSock() != NULL is the replacement. This is a small chance in
sematics. Before this, a user only counted as connected to IRC when the 001
numeric was received. Now it already counts as connected when the connection
was established. This change doesn't hurt any of the current users of
CUser::IsIRCConnected() and so this change should be fine.

Yay, one var less ;)

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1131 726aef4b-f618-498e-8847-2d620e286838
User.cpp
User.h