From c916152470b53c3e3b4cac351ac4e735117aceaa Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 13 Feb 2004 07:24:30 +0000 Subject: [PATCH] Clear the _mores when reset. --- src/Owner.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Owner.py b/src/Owner.py index f3b2119f3..358ac9798 100644 --- a/src/Owner.py +++ b/src/Owner.py @@ -172,6 +172,11 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg): return methodName == 'log' or \ privmsgs.CapabilityCheckingPrivmsg.isCommand(self, methodName) + def reset(self): + # This has to be done somewhere, I figure here is as good place as any. + callbacks.Privmsg._mores.clear() + privmsgs.CapabilityCheckingPrivmsg.reset(self) + def do001(self, irc, msg): self.log.info('Loading other src/ plugins.') for s in ('Admin', 'Channel', 'Config', 'Misc', 'User'):