From a49ca0491d9edd192d329671673b0909d1275d46 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Sun, 25 Jul 2010 12:57:52 -0500 Subject: [PATCH] sort, remove debug item from listing --- dr.botzo.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dr.botzo.py b/dr.botzo.py index b485395..424ecab 100755 --- a/dr.botzo.py +++ b/dr.botzo.py @@ -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: