From bef838bf42c2d0d50bc4da7150870c7dc16bc9e3 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 4 Sep 2003 21:46:16 +0000 Subject: [PATCH] The setattr of the _exec function wasn't right. --- src/OwnerCommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OwnerCommands.py b/src/OwnerCommands.py index e90c53bd7..8e536a124 100644 --- a/src/OwnerCommands.py +++ b/src/OwnerCommands.py @@ -53,7 +53,7 @@ class OwnerCommands(privmsgs.CapabilityCheckingPrivmsg): capability = 'owner' def __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): """