summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-04-14 18:36:01 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-04-14 18:36:01 +0000
commitf4d6f50ebffc4bbad1412ff06c19bde7f58a9459 (patch)
tree2bf8864ac6cad1bb351a566ce02fe908788a6b5a /src
parentc9b01228636be525045e3a4ca01879bfc701fa5f (diff)
BUILD : 1.7.8 (662) BUGS : 342 NOTES : I should know that real_av and av are not identical, thanks for pointing that out heinz :P
git-svn-id: svn://svn.anope.org/anope/trunk@662 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@510 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/channels.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/channels.c b/src/channels.c
index d80a62f4a..ef9614dfe 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -297,8 +297,9 @@ void chan_set_modes(const char *source, Channel * chan, int ac, char **av,
real_ac--;
real_av++;
for (i = 0; i < real_ac; i++) {
- if ((user = finduser(*av)) && is_on_chan(chan, user))
+ if ((user = find_user(*real_av)) && is_on_chan(chan, user))
chan_set_correct_modes(user, chan, 0);
+ real_av++;
}
}
}