diff options
author | lassulus <lassulus@googlemail.com> | 2014-01-22 03:19:58 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2014-01-22 03:19:58 +0100 |
commit | 7c579f4692198045e9fe4d6957eaaa210df76c75 (patch) | |
tree | bd2970ddcb60622b12a0b621666a9732cb1168fc /news/newsbot.py | |
parent | 37d5c80ab68f28b453aaf38fce8aa944e010d360 (diff) |
news: add chan to channels on invite
Diffstat (limited to 'news/newsbot.py')
-rw-r--r-- | news/newsbot.py | 1 |
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: |