mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
The setattr of the _exec function wasn't right.
This commit is contained in:
parent
dd27e3ae23
commit
bef838bf42
@ -53,7 +53,7 @@ class OwnerCommands(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
capability = 'owner'
|
capability = 'owner'
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
callbacks.Privmsg.__init__(self)
|
callbacks.Privmsg.__init__(self)
|
||||||
setattr(self.__class__, 'exec', self._exec)
|
setattr(self.__class__, 'exec', self.__class__._exec)
|
||||||
|
|
||||||
def eval(self, irc, msg, args):
|
def eval(self, irc, msg, args):
|
||||||
"""<expression>
|
"""<expression>
|
||||||
|
Loading…
Reference in New Issue
Block a user