mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Re-added priority for appropriate interaction with irclib.IrcCallbacks.
This commit is contained in:
parent
ce3847fc88
commit
139ce9871c
@ -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):
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user