Merge branch 'nick-access' into maint/0.83.4

This commit is contained in:
James McCoy 2011-10-23 20:33:48 -04:00
commit 9b5019e79d
1 changed files with 2 additions and 1 deletions

View File

@ -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))