while True, not while 1.

This commit is contained in:
Simon Quigley 2018-06-30 18:22:33 -05:00
parent fcfa7e76e0
commit 0eb0144ad7

2
lugito
View File

@ -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!")