Changed priority of OwnerCommands to make sure it's ***always*** first.

This commit is contained in:
Jeremy Fincher 2003-09-06 01:05:52 +00:00
parent 5bc445fd5d
commit da329a3196

View File

@ -50,6 +50,7 @@ import privmsgs
import callbacks import callbacks
class OwnerCommands(privmsgs.CapabilityCheckingPrivmsg): class OwnerCommands(privmsgs.CapabilityCheckingPrivmsg):
priority = ~sys.maxint # This must be first!
capability = 'owner' capability = 'owner'
def __init__(self): def __init__(self):
callbacks.Privmsg.__init__(self) callbacks.Privmsg.__init__(self)