Update server.py

This commit is contained in:
Nova Cat 2025-02-05 13:48:15 -08:00
parent 15f8106232
commit 176770c33e

View file

@ -290,7 +290,6 @@ def session(connection, client, ip, isssl=False):
connection.sendall(bytes(f":{server} NOTICE * :*** Uhm, Couldn't find your ident: Unknown error.\r\n","UTF-8"))
while True:
try:
connection.settimeout(5)
data = connection.recv(2048)
if not data:
cause = "Remote host closed the connection"