mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Fixed importantPlugin dispatching.
This commit is contained in:
parent
10c8cc5e58
commit
0aa6cd5c28
@ -619,9 +619,9 @@ class IrcObjectProxy(RichReplyMethods):
|
|||||||
return [cb]
|
return [cb]
|
||||||
except registry.NonExistentRegistryEntry, e:
|
except registry.NonExistentRegistryEntry, e:
|
||||||
# Check for whether it's a src/ plugin; they get precedence.
|
# Check for whether it's a src/ plugin; they get precedence.
|
||||||
|
important = []
|
||||||
|
importantPlugins = defaultPlugins.importantPlugins()
|
||||||
for cb in cbs:
|
for cb in cbs:
|
||||||
important = []
|
|
||||||
importantPlugins = defaultPlugins.importantPlugins()
|
|
||||||
if cb.name() in importantPlugins:
|
if cb.name() in importantPlugins:
|
||||||
# We do this to handle multiple importants matching.
|
# We do this to handle multiple importants matching.
|
||||||
important.append(cb)
|
important.append(cb)
|
||||||
|
Loading…
Reference in New Issue
Block a user