mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 13:42:36 +01:00
Merge branch 'nick-access'
This commit is contained in:
commit
755fe11982
@ -789,7 +789,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))
|
||||
|
Loading…
Reference in New Issue
Block a user