mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Fixed list bug.
This commit is contained in:
parent
0f5920571e
commit
9bfb616623
@ -106,7 +106,7 @@ class Config(callbacks.Privmsg):
|
||||
return L
|
||||
else:
|
||||
try:
|
||||
L = zip(*group.getValues(fullNames=False))[0]
|
||||
L = [t[0] for t in group.getValues(fullNames=False)]
|
||||
utils.sortBy(str.lower, L)
|
||||
return L
|
||||
except TypeError:
|
||||
@ -125,7 +125,7 @@ class Config(callbacks.Privmsg):
|
||||
if name == '--groups':
|
||||
groups = True
|
||||
name = privmsgs.getArgs(rest)
|
||||
L = self._list(name, groups)
|
||||
L = self._list(name, groups=groups)
|
||||
if L:
|
||||
irc.reply(utils.commaAndify(L))
|
||||
elif groups:
|
||||
|
Loading…
Reference in New Issue
Block a user