summaryrefslogtreecommitdiff
path: root/src
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 /src
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.
Diffstat (limited to 'src')
-rw-r--r--src/channels.c2
1 files changed, 2 insertions, 0 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;
}