From c2b6633fe7b8c1957385a9f2e091027af3d174d9 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Sun, 23 Oct 2011 20:26:39 -0400 Subject: [PATCH] Channel.nicks: Raise error so we don't actually reply with the nicks. Closes: Sf#3396388 Signed-off-by: James McCoy (cherry picked from commit 0869a8e271e9951219dcddd228bec9cb08fc291f) Signed-off-by: Daniel Folkinshteyn --- plugins/Channel/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Channel/plugin.py b/plugins/Channel/plugin.py index f74e18863..00df9e9f9 100644 --- a/plugins/Channel/plugin.py +++ b/plugins/Channel/plugin.py @@ -790,7 +790,8 @@ class Channel(callbacks.Plugin): msg.args[0] != channel and \ (ircutils.isChannel(msg.args[0]) or \ msg.nick not in irc.state.channels[channel].users): - irc.error('You don\'t have access to that information.') + irc.error('You don\'t have access to that information.', + Raise=True) L = list(irc.state.channels[channel].users) keys = [option for (option, arg) in optlist] if 'count' not in keys: