summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-01-08 13:03:07 +0100
committerlassulus <lassulus@googlemail.com>2014-01-08 13:03:07 +0100
commit0d1d7d2202a0bb370d896c1c8562139fbc31b395 (patch)
tree455f7eba0f4005f6cb3b79081fb0d5312b2f5c2c
parentf5153e841834bd78808c2e6dfe4e82e64c0736c7 (diff)
ircbot: manual add now with sys url_shortener
-rwxr-xr-xircbot/contoller.py2
1 files changed, 1 insertions, 1 deletions
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"