Re-added priority for appropriate interaction with irclib.IrcCallbacks.

This commit is contained in:
Jeremy Fincher 2004-09-12 20:26:36 +00:00
parent ce3847fc88
commit 139ce9871c
2 changed files with 2 additions and 0 deletions

View File

@ -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):

View File

@ -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):