summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/helperfuncs.cpp2
-rwxr-xr-xsrc/svn-rev.sh2
2 files changed, 2 insertions, 2 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++;
}
diff --git a/src/svn-rev.sh b/src/svn-rev.sh
index 24b276076..8acb32dfb 100755
--- a/src/svn-rev.sh
+++ b/src/svn-rev.sh
@@ -1 +1 @@
-echo 3591
+echo 3593