From 0aa6cd5c289ce62e45e12e654f55884ddf4cd542 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 23 Sep 2004 16:32:58 +0000 Subject: [PATCH] Fixed importantPlugin dispatching. --- src/callbacks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)