From 5465ea3a6af4ea88dcfa3d15ca241705c82c041a Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 14 Jan 2014 00:27:20 +0100 Subject: reaktor: ircasy invite handler --- IRC/ircasy.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'IRC') diff --git a/IRC/ircasy.py b/IRC/ircasy.py index 4b800d4..ca607f2 100644 --- a/IRC/ircasy.py +++ b/IRC/ircasy.py @@ -101,6 +101,9 @@ class asybot(asychat): elif command == 'PRIVMSG': self.on_privmsg(prefix, command, params, rest) + elif command == 'INVITE': + self.on_invite(prefix, command, params, rest) + elif command == '433': # ERR_NICKNAMEINUSE, retry with another name _, nickname, int, _ = split('^.*[^0-9]([0-9]+)$', self.nickname) \ @@ -156,3 +159,6 @@ class asybot(asychat): def on_welcome(self, prefix, command, params, rest): self.push('JOIN %s' % ','.join(self.channels)) + + def on_invite(self, prefix, command, params, rest): + pass -- cgit v1.2.3