summaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-01-11 13:27:30 +0100
committerlassulus <lassulus@googlemail.com>2014-01-11 13:27:30 +0100
commitd68bb6c556fa7da246697d309a886daed4cae9c6 (patch)
tree5a9c6e12ae4669a3f155e26ea14de4f391091c8b /news
parent73b356d61a14209dee77c6f314fd10a77d215f92 (diff)
news: more sanity!
Diffstat (limited to 'news')
-rwxr-xr-xnews/controller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/news/controller.py b/news/controller.py
index c0016cc8..94f48b63 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:
+ if args[1] not in bots and not knews.name:
bot = rssbot.RssBot(args[2], args[1], url_shortener=url_shortener)
bots[args[1]] = bot
bot.start()