diff --git a/src/callbacks.py b/src/callbacks.py index fe2da53c8..4f06e4023 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -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)