From: special Date: Mon, 30 Jul 2007 19:58:18 +0000 (+0000) Subject: Forward port of the fix to secret channels in /list X-Git-Tag: v2.0.23~4842 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=5edae19f689dbb95ea58f468f1dcb85a989578a9;p=user%2Fhenk%2Fcode%2Finspircd.git Forward port of the fix to secret channels in /list git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7633 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/cmd_list.cpp b/src/cmd_list.cpp index 1a5688293..c9039b86b 100644 --- a/src/cmd_list.cpp +++ b/src/cmd_list.cpp @@ -71,7 +71,7 @@ CmdResult cmd_list::Handle (const char** parameters, int pcnt, userrec *user) } else { - if (((!(i->second->IsModeSet('p'))) && (!(i->second->IsModeSet('p')))) || (n)) + if (((!(i->second->IsModeSet('p'))) && (!(i->second->IsModeSet('s')))) || (n)) { long users = i->second->GetUserCounter(); if (users)