mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 23:54:07 +01:00
Channel: Really deny access to the nicks list. Closes GH-172.
This commit is contained in:
parent
5f9c889bf3
commit
22eb147116
@ -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:
|
||||||
|
@ -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)'
|
||||||
|
Loading…
Reference in New Issue
Block a user