mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +01:00
Oops, forgot to commit this.
This commit is contained in:
parent
847b53d68a
commit
3624267dbf
@ -156,7 +156,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
command = callbacks.canonicalName(tokens[0])
|
command = callbacks.canonicalName(tokens[0])
|
||||||
try:
|
try:
|
||||||
plugin = conf.supybot.commands.defaultPlugins.get(command)()
|
plugin = conf.supybot.commands.defaultPlugins.get(command)()
|
||||||
if plugin:
|
if plugin and plugin != '(Unused)':
|
||||||
tokens.insert(0, plugin)
|
tokens.insert(0, plugin)
|
||||||
else:
|
else:
|
||||||
raise registry.NonExistentRegistryEntry
|
raise registry.NonExistentRegistryEntry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user