mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Fixed importantPlugin dispatching.
This commit is contained in:
parent
10c8cc5e58
commit
0aa6cd5c28
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user