summaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-01-10 14:16:35 +0100
committerlassulus <lassulus@googlemail.com>2014-01-10 14:16:35 +0100
commitbc99b60e6db3aed9d1f4130185df97639e6daf66 (patch)
treee932660b920e08908194b8fa59850e3643e48f45 /news
parent4f7c7241e3e5bf0203269d1fa6298c85ab952db1 (diff)
ircbot: fix save
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 5277d626..7d41fd6f 100755
--- a/news/controller.py
+++ b/news/controller.py
@@ -81,7 +81,7 @@ class commands():
def save(args):
output_buffer = ''
for bot in bots:
- if bot.loop:
+ if bots[bot].loop:
output_buffer += bot + '|' + bots[bot].url + '|' + ' '.join(bots[bot].channels) + '\n'
F = open(feedfile, "w")