summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-08 23:21:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-08 23:21:59 +0000
commit798a7139ab5d28f15676217e597342404215bca7 (patch)
tree17838900e4d8eccb380433e3c2890ef8a85caa51 /src/helperfuncs.cpp
parentaaf5226111f515f4baa68e95ea6a1db740828ac3 (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.cpp4
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