Fix a bug where ZNC always thought all channels where empty

Due to the recent change that ZNC calls SetIsOn(true) when we receive the JOIN,
not the 'end of names' reply, the nick list of a channel was always ignored.
This fixes this bug.

Thanks to cnu for using a svn version and reporting this bug. :)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1154 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-07-24 18:49:52 +00:00
parent 8fa9122cdb
commit 2f74755d7a
-4
View File
@@ -409,10 +409,6 @@ void CChan::ClearNicks() {
}
int CChan::AddNicks(const CString& sNicks) {
if (IsOn()) {
return 0;
}
int iRet = 0;
CString sCurNick;