diff options
author | Adam <Adam@anope.org> | 2013-09-29 11:42:22 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-09-29 11:42:22 -0400 |
commit | 5fd148593819675fd275ccec6a9ada0f118c6d58 (patch) | |
tree | 8e940b800af399081066867d0b37d87dd0ff1fbc /src | |
parent | 7a741b467c1e178ba721550ec62fecd2d4afbf90 (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.c | 2 |
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; } |