From f4d6f50ebffc4bbad1412ff06c19bde7f58a9459 Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Thu, 14 Apr 2005 18:36:01 +0000 Subject: 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 --- src/channels.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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++; } } } -- cgit