mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Use the plugin name for Owner.defaultplugin's error message.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
parent
154fbc30e9
commit
074ded49e4
@ -315,7 +315,8 @@ class Owner(callbacks.Plugin):
|
||||
irc.errorInvalid('command', command)
|
||||
elif plugin:
|
||||
if not plugin.isCommand(command):
|
||||
irc.errorInvalid('command in the %s plugin' % plugin, command)
|
||||
irc.errorInvalid('command in the %s plugin' % plugin.name(),
|
||||
command)
|
||||
registerDefaultPlugin(command, plugin.name())
|
||||
irc.replySuccess()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user