From 2f74755d7a961ec7f8f5e352e32f946db3e271d0 Mon Sep 17 00:00:00 2001 From: psychon Date: Thu, 24 Jul 2008 18:49:52 +0000 Subject: [PATCH] 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 --- Chan.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Chan.cpp b/Chan.cpp index 2124a2b0..f5805ba1 100644 --- a/Chan.cpp +++ b/Chan.cpp @@ -409,10 +409,6 @@ void CChan::ClearNicks() { } int CChan::AddNicks(const CString& sNicks) { - if (IsOn()) { - return 0; - } - int iRet = 0; CString sCurNick;