summaryrefslogtreecommitdiff
path: root/src/cmd_list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_list.cpp')
-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)