mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Fixed some bugz0rs.
This commit is contained in:
parent
26355a6dbd
commit
847b53d68a
@ -96,10 +96,9 @@ def loadPluginClass(irc, module):
|
||||
|
||||
conf.registerGroup(conf.supybot, 'commands')
|
||||
conf.registerGroup(conf.supybot.commands, 'defaultPlugins',
|
||||
registry.GroupWithDefault(registry.String('', """
|
||||
Determines what commands have default plugins set, and which
|
||||
plugins are set to be the default for each of those
|
||||
commands.""")))
|
||||
registry.GroupWithDefault(registry.String('(Unused)', """Determines what
|
||||
commands have default plugins set, and which plugins are set to be the
|
||||
default for each of those commands.""")))
|
||||
conf.registerGlobalValue(conf.supybot.commands.defaultPlugins,
|
||||
'list', registry.String('Misc', ''))
|
||||
conf.registerGlobalValue(conf.supybot.commands.defaultPlugins,
|
||||
|
@ -311,7 +311,7 @@ class Group(object):
|
||||
items = self.values.items()
|
||||
for (name, child) in self.children.items():
|
||||
if hasattr(child, 'value'):
|
||||
items.append((self.originals[name], child))
|
||||
items.append((name, child))
|
||||
utils.sortBy(lambda (k, _): (k.lower(), len(k), k), items)
|
||||
for (name, value) in items:
|
||||
if fullNames:
|
||||
|
Loading…
Reference in New Issue
Block a user