From 0869a8e271e9951219dcddd228bec9cb08fc291f 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 --- 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 7cb51f937..db12afb37 100644 --- a/plugins/Channel/plugin.py +++ b/plugins/Channel/plugin.py @@ -788,7 +788,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) utils.sortBy(str.lower, L) irc.reply(utils.str.commaAndify(L))