summaryrefslogtreecommitdiffstats
path: root/news/newsbot.py
diff options
context:
space:
mode:
Diffstat (limited to 'news/newsbot.py')
-rw-r--r--news/newsbot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/news/newsbot.py b/news/newsbot.py
index f1ab9ce5..40f2c385 100644
--- a/news/newsbot.py
+++ b/news/newsbot.py
@@ -39,6 +39,7 @@ class NewsBot(asybot):
def on_invite(self, prefix, command, params, rest):
for chan in rest.split():
self.push('JOIN ' + chan)
+ self.channels.append(chan)
def read_message(self, args):
try: