From 139ce9871c23d6158e1dc4c83f56bd2c44babaf5 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sun, 12 Sep 2004 20:26:36 +0000 Subject: [PATCH] Re-added priority for appropriate interaction with irclib.IrcCallbacks. --- src/Misc.py | 1 + src/Owner.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Misc.py b/src/Misc.py index ca8d6111c..5c04b0fa7 100755 --- a/src/Misc.py +++ b/src/Misc.py @@ -79,6 +79,7 @@ class Misc(callbacks.Privmsg): super(Misc, self).__init__() self.invalidCommands = ircutils.FloodQueue(60) + priority = sys.maxint + 1 # This is for working with IrcCallbacks. callAfter = utils.Everything() callBefore = utils.Nothing() def __lt__(self, other): diff --git a/src/Owner.py b/src/Owner.py index e06b952aa..38629d900 100644 --- a/src/Owner.py +++ b/src/Owner.py @@ -249,6 +249,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg): continue registerDefaultPlugin(name, s) + priority = ~sys.maxint - 1 # For working with IrcCallbacks. callAfter = utils.Nothing() callBefore = utils.Everything() def __lt__(self, other):