diff options
author | lassulus <lassulus@googlemail.com> | 2014-01-11 19:09:01 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2014-01-11 19:09:01 +0100 |
commit | 6b899f16c48c5badd00827dbda6031ebaccb8653 (patch) | |
tree | dacb5a7423afef5d64500758f3d24c536bb86f59 /news | |
parent | d68bb6c556fa7da246697d309a886daed4cae9c6 (diff) |
news: fix add
Diffstat (limited to 'news')
-rwxr-xr-x | news/controller.py | 2 |
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() |