diff options
| author | 2007-07-30 19:56:46 +0000 | |
|---|---|---|
| committer | 2007-07-30 19:56:46 +0000 | |
| commit | dac2e2a853555949567b8d03d6377d1e6a1b00a5 (patch) | |
| tree | 9efdf40bd3d96da466b3eec0cb8d6eb4d7813716 /src/cmd_list.cpp | |
| parent | 7621,7623,7625,7627 manually merged (diff) | |
Fixed a recently introduced bug in cmd_list that would cause secret channels to be shown to all users. Highly recommended that you either hotpatch the /list command or load safelist..
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7632 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_list.cpp')
| -rw-r--r-- | src/cmd_list.cpp | 2 |
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) |
