summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-09-29 11:42:22 -0400
committerAdam <Adam@anope.org>2013-09-29 11:42:22 -0400
commit5fd148593819675fd275ccec6a9ada0f118c6d58 (patch)
tree8e940b800af399081066867d0b37d87dd0ff1fbc
parent7a741b467c1e178ba721550ec62fecd2d4afbf90 (diff)
Internally process bounced channel modes from a deopped user.
Even though we never process the modes from the deopped user, the bounced modes can't be trusted.
-rw-r--r--src/channels.c2
-rw-r--r--version.log2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/channels.c b/src/channels.c
index 2318d7ef2..d4daecac9 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -199,6 +199,8 @@ void chan_set_modes(const char *source, Channel * chan, int ac, char **av,
/* Set the resulting mode buffer */
anope_cmd_mode(whosends(chan->ci), chan->name, merge_args(ac, av));
+ chan_set_modes(whosends(chan->ci), chan, ac, av, check);
+
return;
}
diff --git a/version.log b/version.log
index c908d161c..3466d5a8c 100644
--- a/version.log
+++ b/version.log
@@ -8,7 +8,7 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="9"
VERSION_EXTRA="-git"
-VERSION_BUILD="3126"
+VERSION_BUILD="3127"
# Changes since 1.8.8 Release
#Revision 3125 - Fix kick reason in cs_suspend and cs_forbid if no reason is given