summaryrefslogtreecommitdiffstats
path: root/Reaktor
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-01-14 00:27:20 +0100
committerlassulus <lassulus@googlemail.com>2014-01-14 00:27:20 +0100
commitbc4c246294458ef8275188cbbb6697a695e3f351 (patch)
tree9610884c3c578daf3042d492d4293495a8720556 /Reaktor
parent62f4edbe223adf266980ba2039747b833fb7b8eb (diff)
reaktor: ircasy invite handler
Diffstat (limited to 'Reaktor')
-rw-r--r--Reaktor/IRC/ircasy.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Reaktor/IRC/ircasy.py b/Reaktor/IRC/ircasy.py
index 4b800d45..ca607f2b 100644
--- a/Reaktor/IRC/ircasy.py
+++ b/Reaktor/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