summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-01-11 19:09:01 +0100
committerlassulus <lassulus@googlemail.com>2014-01-11 19:09:01 +0100
commit6b899f16c48c5badd00827dbda6031ebaccb8653 (patch)
treedacb5a7423afef5d64500758f3d24c536bb86f59
parentd68bb6c556fa7da246697d309a886daed4cae9c6 (diff)
news: fix add
-rwxr-xr-xnews/controller.py2
1 files changed, 1 insertions, 1 deletions
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()