Oops, should've used irc.error...brainfart!

This commit is contained in:
Jeremy Fincher 2003-12-10 07:32:04 +00:00
parent da6743b9b7
commit 94cdec8a26
1 changed files with 2 additions and 1 deletions

View File

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