diff options
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r-- | src/helperfuncs.cpp | 2 |
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++; } |