mirror of
				https://github.com/lubuntu-team/lugito.git
				synced 2025-10-31 08:34:02 +00:00 
			
		
		
		
	while True, not while 1.
This commit is contained in:
		
							parent
							
								
									fcfa7e76e0
								
							
						
					
					
						commit
						0eb0144ad7
					
				
							
								
								
									
										2
									
								
								lugito
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								lugito
									
									
									
									
									
								
							| @ -85,7 +85,7 @@ def ircmessage(objectstr, who, body, link): | |||||||
|     sendnotice(message) |     sendnotice(message) | ||||||
| 
 | 
 | ||||||
| def listenirc(): | def listenirc(): | ||||||
|     while 1: |     while True: | ||||||
|         ircmsg = conn.recv(512) |         ircmsg = conn.recv(512) | ||||||
|         if len(ircmsg) == 0: |         if len(ircmsg) == 0: | ||||||
|             print("Connection lost, reconnecting!") |             print("Connection lost, reconnecting!") | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user