Oops, forgot to commit this.

This commit is contained in:
Jeremy Fincher 2004-01-26 15:10:04 +00:00
parent 847b53d68a
commit 3624267dbf

View File

@ -156,7 +156,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
command = callbacks.canonicalName(tokens[0])
try:
plugin = conf.supybot.commands.defaultPlugins.get(command)()
if plugin:
if plugin and plugin != '(Unused)':
tokens.insert(0, plugin)
else:
raise registry.NonExistentRegistryEntry