From 09bc409155e99b04cb2282faa01548a40a2c135a Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 25 Apr 2014 12:02:03 +0200 Subject: make config file a parameter --- IRC/ircasy.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'IRC/ircasy.py') diff --git a/IRC/ircasy.py b/IRC/ircasy.py index 9a7f44f..259ea98 100644 --- a/IRC/ircasy.py +++ b/IRC/ircasy.py @@ -114,7 +114,10 @@ class asybot(asychat): self.on_kick(prefix, command, params, rest) elif command == 'JOIN': - self.on_join(prefix, command, params, rest) + try: + self.on_join(prefix, command, params, rest) + except: + pass elif command == '433': # ERR_NICKNAMEINUSE, retry with another name -- cgit v1.2.3