From 7c579f4692198045e9fe4d6957eaaa210df76c75 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 22 Jan 2014 03:19:58 +0100 Subject: news: add chan to channels on invite --- news/newsbot.py | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v1.2.3