mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 04:39:26 +01:00
Config: Fix name clash with the expected 'reset' method.
This commit is contained in:
parent
e9a8826805
commit
75f7479bf4
@ -474,7 +474,12 @@ class Config(callbacks.Plugin):
|
||||
irc.replySuccess()
|
||||
setdefault = wrap(setdefault, ['settableConfigVar'])
|
||||
|
||||
class reset(callbacks.Commands):
|
||||
class reset_(callbacks.Commands):
|
||||
# to prevent conflict with the reset() command of callbacks, this class
|
||||
# is renamed 'reset_'
|
||||
def name(self):
|
||||
return 'reset'
|
||||
|
||||
@internationalizeDocstring
|
||||
def channel(self, irc, msg, args, network, channel, group):
|
||||
"""[<network>] [<channel>] <name>
|
||||
|
Loading…
Reference in New Issue
Block a user