while True, not while 1.

pull/1/head
Simon Quigley 6 years ago
parent fcfa7e76e0
commit 0eb0144ad7

@ -85,7 +85,7 @@ def ircmessage(objectstr, who, body, link):
sendnotice(message)
def listenirc():
while 1:
while True:
ircmsg = conn.recv(512)
if len(ircmsg) == 0:
print("Connection lost, reconnecting!")

Loading…
Cancel
Save