summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-30 19:58:18 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-30 19:58:18 +0000
commit5edae19f689dbb95ea58f468f1dcb85a989578a9 (patch)
tree39d0ac1b42c1660af36438de0748fe93c78d5168
parentaeb6f60a430b864f1aa7032cb2ce4411b82a9296 (diff)
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
-rw-r--r--src/cmd_list.cpp2
1 files changed, 1 insertions, 1 deletions
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)