mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Clear the _mores when reset.
This commit is contained in:
parent
f2fc683538
commit
c916152470
@ -172,6 +172,11 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
return methodName == 'log' or \
|
return methodName == 'log' or \
|
||||||
privmsgs.CapabilityCheckingPrivmsg.isCommand(self, methodName)
|
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):
|
def do001(self, irc, msg):
|
||||||
self.log.info('Loading other src/ plugins.')
|
self.log.info('Loading other src/ plugins.')
|
||||||
for s in ('Admin', 'Channel', 'Config', 'Misc', 'User'):
|
for s in ('Admin', 'Channel', 'Config', 'Misc', 'User'):
|
||||||
|
Loading…
Reference in New Issue
Block a user