sort, remove debug item from listing
This commit is contained in:
parent
d879ee1c92
commit
a49ca0491d
@ -148,7 +148,10 @@ def sub_countdown(connection, event, nick, userhost, replypath, what, admin_unlo
|
||||
connection.privmsg(replypath, 'added countdown item')
|
||||
elif whats[1] == 'list':
|
||||
try:
|
||||
liststr = ', '.join(config.options('countdown'))
|
||||
cdlist = config.options('countdown')
|
||||
cdlist.remove('debug')
|
||||
cdlist.sort()
|
||||
liststr = ', '.join(cdlist)
|
||||
connection.privmsg(replypath, liststr)
|
||||
except NoSectionError: pass
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user