Doh!... again. Seems I left listconf in in the previous commit.

This commit is contained in:
Stéphan Kochen 2003-10-21 10:06:31 +00:00
parent c67a3eae19
commit 617b4928ef

View File

@ -166,21 +166,6 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
options.sort() options.sort()
irc.reply(msg, ', '.join(options)) 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): def setdefaultcapability(self, irc, msg, args):
"""<capability> """<capability>