mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-30 14:52:44 +01:00
Fix0red disable.
This commit is contained in:
parent
9021c5e150
commit
4facd7e5ba
@ -712,9 +712,10 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
||||
irc.error('%s is not a command in the %s plugin.' %
|
||||
(command, plugin.name()))
|
||||
return
|
||||
self._disabled.add(command, plugin.name())
|
||||
else:
|
||||
conf.supybot.commands.disabled().add(command)
|
||||
self._disabled.add(command, plugin)
|
||||
self._disabled.add(command)
|
||||
irc.replySuccess()
|
||||
disable = wrap(disable, [optional('plugin'), 'commandName'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user