Channel: Really deny access to the nicks list. Closes GH-172.

This commit is contained in:
Valentin Lorentz 2011-08-16 13:22:23 +02:00
parent 5f9c889bf3
commit 22eb147116
2 changed files with 2 additions and 1 deletions

View File

@ -828,6 +828,7 @@ class Channel(callbacks.Plugin):
(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.'))
return
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:

View File

@ -1,3 +1,3 @@
"""stick the various versioning attributes in here, so we only have to change """stick the various versioning attributes in here, so we only have to change
them once.""" them once."""
version = '0.83.4.1+limnoria (2011-08-15T17:24:33+0200)' version = '0.83.4.1+limnoria (2011-08-16T13:22:23+0200)'