mirror of
https://github.com/anope/anope.git
synced 2026-06-27 22:36:39 +02:00
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
This commit is contained in:
parent
c9b0122863
commit
f4d6f50ebf
+2
-1
@@ -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++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user