mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +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__()
|
super(Misc, self).__init__()
|
||||||
self.invalidCommands = ircutils.FloodQueue(60)
|
self.invalidCommands = ircutils.FloodQueue(60)
|
||||||
|
|
||||||
|
priority = sys.maxint + 1 # This is for working with IrcCallbacks.
|
||||||
callAfter = utils.Everything()
|
callAfter = utils.Everything()
|
||||||
callBefore = utils.Nothing()
|
callBefore = utils.Nothing()
|
||||||
def __lt__(self, other):
|
def __lt__(self, other):
|
||||||
|
@ -249,6 +249,7 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
continue
|
continue
|
||||||
registerDefaultPlugin(name, s)
|
registerDefaultPlugin(name, s)
|
||||||
|
|
||||||
|
priority = ~sys.maxint - 1 # For working with IrcCallbacks.
|
||||||
callAfter = utils.Nothing()
|
callAfter = utils.Nothing()
|
||||||
callBefore = utils.Everything()
|
callBefore = utils.Everything()
|
||||||
def __lt__(self, other):
|
def __lt__(self, other):
|
||||||
|
Loading…
Reference in New Issue
Block a user