From 0d1d7d2202a0bb370d896c1c8562139fbc31b395 Mon Sep 17 00:00:00 2001
From: lassulus <lassulus@googlemail.com>
Date: Wed, 8 Jan 2014 13:03:07 +0100
Subject: ircbot: manual add now with sys url_shortener

---
 ircbot/contoller.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ircbot')

diff --git a/ircbot/contoller.py b/ircbot/contoller.py
index 26e88ca9..1d9347c3 100755
--- a/ircbot/contoller.py
+++ b/ircbot/contoller.py
@@ -61,7 +61,7 @@ class NewsBot(irc.bot.SingleServerIRCBot):
 
 class commands():
     def add(args): 
-        bot = rssbot.RssBot(args[2], args[1])
+        bot = rssbot.RssBot(args[2], args[1], url_shortener=url_shortener)
         bots[args[1]] = bot
         bot.start()
         return "bot " + args[1] + " added"
-- 
cgit v1.2.3