summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 14:33:54 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 14:33:54 +0000
commitf5defd93b72e5467e2cb899a63d1695601e41673 (patch)
tree54d1fd7b96e304caf04648b223109feed5e1b411 /src/helperfuncs.cpp
parent39e872a70f67ab1792ec6425c5e28ba226255985 (diff)
Typical. 0 and 1 to choose from, and i pick the wrong one. (back to front binary)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3594 e03df62e-2008-0410-955e-edbf42e46eb7
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++;
}