mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 12:09:03 -04:00
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:
parent
aeb6f60a43
commit
5edae19f68
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user