mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-08 03:59:23 +01:00
Channel.nicks: Raise error so we don't actually reply with the nicks.
Closes: Sf#3396388
Signed-off-by: James McCoy <vega.james@gmail.com>
(cherry picked from commit 0869a8e271
)
Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
This commit is contained in:
parent
3248bd79c4
commit
c2b6633fe7
@ -790,7 +790,8 @@ class Channel(callbacks.Plugin):
|
|||||||
msg.args[0] != channel and \
|
msg.args[0] != channel and \
|
||||||
(ircutils.isChannel(msg.args[0]) or \
|
(ircutils.isChannel(msg.args[0]) or \
|
||||||
msg.nick not in irc.state.channels[channel].users):
|
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)
|
L = list(irc.state.channels[channel].users)
|
||||||
keys = [option for (option, arg) in optlist]
|
keys = [option for (option, arg) in optlist]
|
||||||
if 'count' not in keys:
|
if 'count' not in keys:
|
||||||
|
Loading…
Reference in New Issue
Block a user