mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-27 21:22:39 +01:00
Doh!... again. Seems I left listconf in in the previous commit.
This commit is contained in:
parent
c67a3eae19
commit
617b4928ef
15
src/Owner.py
15
src/Owner.py
@ -166,21 +166,6 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
||||
options.sort()
|
||||
irc.reply(msg, ', '.join(options))
|
||||
|
||||
def listconf(self, irc, msg, args):
|
||||
"""takes no arguments
|
||||
|
||||
Lists the variables in conf-module that can be adjusted with setconf.
|
||||
"""
|
||||
options = []
|
||||
for key in conf.types.keys():
|
||||
otype = conf.types[key].__name__
|
||||
if otype[:2] == 'my':
|
||||
otype = otype[2:]
|
||||
options.append('%s (%s)' % (key, otype))
|
||||
|
||||
options.sort()
|
||||
irc.reply(msg, ', '.join(options))
|
||||
|
||||
def setdefaultcapability(self, irc, msg, args):
|
||||
"""<capability>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user