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