From 0eb0144ad7168eb63370edad32234a38c5ffc0aa Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 30 Jun 2018 18:22:33 -0500 Subject: [PATCH] while True, not while 1. --- lugito | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lugito b/lugito index 7921178..17b08a9 100755 --- a/lugito +++ b/lugito @@ -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!")