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
This commit is contained in:
special 2007-07-30 19:58:18 +00:00
parent aeb6f60a43
commit 5edae19f68

View File

@ -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)