mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
Oops, should've used irc.error...brainfart!
This commit is contained in:
parent
da6743b9b7
commit
94cdec8a26
@ -133,7 +133,8 @@ class Admin(privmsgs.CapabilityCheckingPrivmsg):
|
||||
to protect the secrecy of secret channels.
|
||||
"""
|
||||
if ircutils.isChannel(msg.args[0]):
|
||||
raise callbacks.Error
|
||||
irc.error(msg, conf.replyRequiresPrivacy)
|
||||
return
|
||||
L = irc.state.channels.keys()
|
||||
if L:
|
||||
utils.sortBy(ircutils.toLower, L)
|
||||
|
Loading…
Reference in New Issue
Block a user