X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=blobdiff_plain;f=backends%2Firc%2F__init__.py;fp=backends%2Firc%2F__init__.py;h=571aedb24d1f58e5dd7ba97d91b3c4b003f3dbe0;hp=8dae94e421de72f4f8ddc95102f779e0a1624505;hb=3da0c07024ca0a6158cb1d5688b266348b876161;hpb=9baf5ef4407f8d1aa5bc894ea1a0f34a9d8bae3c diff --git a/backends/irc/__init__.py b/backends/irc/__init__.py index 8dae94e..571aedb 100644 --- a/backends/irc/__init__.py +++ b/backends/irc/__init__.py @@ -72,6 +72,7 @@ class IrcThread(threading.Thread): def run(self): ircname = self.getname() + print_log("joining IRC") while not self.processor.shared.stopped(): try: @@ -80,6 +81,7 @@ class IrcThread(threading.Thread): s.settimeout(0.1) except: s.close() + print_log("IRC: reconnect in 10 s") time.sleep(10) continue @@ -114,6 +116,7 @@ class IrcThread(threading.Thread): line = line.strip('\r') if not line: continue + # print_log("<--", line) line = line.split() if line[0] == 'PING': out_msg.append('PONG ' + line[1] + '\n')