From 6b899f16c48c5badd00827dbda6031ebaccb8653 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 11 Jan 2014 19:09:01 +0100 Subject: news: fix add --- news/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/news/controller.py b/news/controller.py index 94f48b63..e9e94476 100755 --- a/news/controller.py +++ b/news/controller.py @@ -55,7 +55,7 @@ class NewsBot(irc.bot.SingleServerIRCBot): class commands(): def add(args): - if args[1] not in bots and not knews.name: + if args[1] not in bots and not args[1]==knews.name: bot = rssbot.RssBot(args[2], args[1], url_shortener=url_shortener) bots[args[1]] = bot bot.start() -- cgit v1.2.3