Fixed importantPlugin dispatching.

This commit is contained in:
Jeremy Fincher 2004-09-23 16:32:58 +00:00
parent 10c8cc5e58
commit 0aa6cd5c28
1 changed files with 2 additions and 2 deletions

View File

@ -619,9 +619,9 @@ class IrcObjectProxy(RichReplyMethods):
return [cb]
except registry.NonExistentRegistryEntry, e:
# Check for whether it's a src/ plugin; they get precedence.
important = []
importantPlugins = defaultPlugins.importantPlugins()
for cb in cbs:
important = []
importantPlugins = defaultPlugins.importantPlugins()
if cb.name() in importantPlugins:
# We do this to handle multiple importants matching.
important.append(cb)