mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +01:00
Updated to show channelValues.
This commit is contained in:
parent
8eeab87a98
commit
6c7a1e6d8c
@ -120,7 +120,9 @@ class Config(callbacks.Privmsg):
|
|||||||
group = getWrapper(name)
|
group = getWrapper(name)
|
||||||
L = []
|
L = []
|
||||||
for (vname, v) in group._children.iteritems():
|
for (vname, v) in group._children.iteritems():
|
||||||
if v._added:
|
if hasattr(v, 'channelValue') and v.channelValue:
|
||||||
|
vname = '#' + vname
|
||||||
|
if v._added and not all(ircutils.isChannel, v._added):
|
||||||
vname = '@' + vname
|
vname = '@' + vname
|
||||||
L.append(vname)
|
L.append(vname)
|
||||||
utils.sortBy(str.lower, L)
|
utils.sortBy(str.lower, L)
|
||||||
|
Loading…
Reference in New Issue
Block a user