summaryrefslogtreecommitdiffstats
path: root/ircbot/controller.py
diff options
context:
space:
mode:
Diffstat (limited to 'ircbot/controller.py')
-rwxr-xr-xircbot/controller.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ircbot/controller.py b/ircbot/controller.py
index 66c42bd7..5277d626 100755
--- a/ircbot/controller.py
+++ b/ircbot/controller.py
@@ -81,7 +81,8 @@ class commands():
def save(args):
output_buffer = ''
for bot in bots:
- output_buffer += bot + '|' + bots[bot].url + '|' + ' '.join(bots[bot].channels) + '\n'
+ if bot.loop:
+ output_buffer += bot + '|' + bots[bot].url + '|' + ' '.join(bots[bot].channels) + '\n'
F = open(feedfile, "w")
F.writelines(output_buffer)