From 5fd148593819675fd275ccec6a9ada0f118c6d58 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 29 Sep 2013 11:42:22 -0400 Subject: 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. --- src/channels.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; } -- cgit