summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 7e9f72913..cae073ff4 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -1386,7 +1386,7 @@ int usercount_i(chanrec *c)
CUList *ulist= c->GetUsers();
for (CUList::iterator i = ulist->begin(); i != ulist->end(); i++)
{
- if (i->second->modebits & UM_INVISIBLE)
+ if (!(i->second->modebits & UM_INVISIBLE))
count++;
}