summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/channels.c3
-rw-r--r--version.log6
3 files changed, 8 insertions, 2 deletions
diff --git a/Changes b/Changes
index 4c4b637b5..c40cea5b4 100644
--- a/Changes
+++ b/Changes
@@ -10,6 +10,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005
02/13 A Internal Event support, see EVENTS in the doc folder for help [ #00]
02/05 A Support for Unreal 3.2 +I channel mode. [ #00]
02/03 A Merged anope-win32 branch into the main, now Win32 ready. [ #00]
+04/14 F When setting multiple ops, SecureOps will check each user. [#342]
04/12 F Users channel modes are correctly set on join. [#342]
04/11 F Make sure nick isn't in use on nickserv collide. [#341]
04/07 F Added channel names to XOP/ACCESS/AKICK CLEAR [#346]
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++;
}
}
}
diff --git a/version.log b/version.log
index 6248b89d9..f93da52cc 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="8"
-VERSION_BUILD="661"
+VERSION_BUILD="662"
# $Log$
#
+# 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
+#
# BUILD : 1.7.8 (661)
# BUGS : 341 342
# NOTES : Fixed removing modes when users with insufficient rights entered a channel, and added a check to make sure the guestnick is not in use yet