diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-08 23:21:59 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-08 23:21:59 +0000 |
commit | 798a7139ab5d28f15676217e597342404215bca7 (patch) | |
tree | 17838900e4d8eccb380433e3c2890ef8a85caa51 /src/helperfuncs.cpp | |
parent | aaf5226111f515f4baa68e95ea6a1db740828ac3 (diff) |
Fixed externs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3561 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r-- | src/helperfuncs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 2a929f3b2..7c0d37196 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -1351,11 +1351,11 @@ void userlist(userrec *user,chanrec *c) /* Improvement by Brain - this doesnt change in value, so why was it inside * the loop? */ - bool has_user = c->HasUser(user,c); + bool has_user = c->HasUser(user); for (CUList::iterator i = ulist->begin(); i != ulist->end(); i++) { - if ((!n) && (strchr(i->second->modes,'i'))) + if ((!has_user) && (strchr(i->second->modes,'i'))) { /* * user is +i, and source not on the channel, does not show |