summaryrefslogtreecommitdiff
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
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
-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