diff options
| author | 2006-03-09 14:33:54 +0000 | |
|---|---|---|
| committer | 2006-03-09 14:33:54 +0000 | |
| commit | f5defd93b72e5467e2cb899a63d1695601e41673 (patch) | |
| tree | 54d1fd7b96e304caf04648b223109feed5e1b411 /src/helperfuncs.cpp | |
| parent | Forgot to declare var (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.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++; } |
