From f5defd93b72e5467e2cb899a63d1695601e41673 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 9 Mar 2006 14:33:54 +0000 Subject: 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 --- src/helperfuncs.cpp | 2 +- src/svn-rev.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3