summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-03-17 02:37:09 +0100
committerlassulus <lassulus@googlemail.com>2014-03-17 02:37:09 +0100
commit44c648c68cdb58662f9e2d7232d26e59f5ddf662 (patch)
treee4132d128fa430da0e9b20fbf564e54d6b657096
parentadb33710bf3b9c3c1634d13125f39a7697294b1a (diff)
newsbot.js: fix save
-rw-r--r--news/newsbot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/news/newsbot.js b/news/newsbot.js
index 35e99c59..f01f1c59 100644
--- a/news/newsbot.js
+++ b/news/newsbot.js
@@ -250,7 +250,7 @@ methods.save = function (params, callback) {
return [
slave.nick,
slave.uri,
- Object.keys(client.chans).join(' '),
+ Object.keys(slave.client.chans).join(' '),
].join('|')
}).join('\n') + '\n'
return FS.writeFile(feeds_file, feeds, function (error) {