Update server.py
Some checks are pending
Check syntax / check (push) Waiting to run

This commit is contained in:
Nova Cat 2025-01-03 17:02:55 -08:00
parent a89a10705c
commit e0df590c76

View file

@ -612,6 +612,7 @@ def cleanup_manual():
nickname_list[k].sendall(f":{h}!~DISCONNECTED@DISCONNECTED PART {j} :IRCat Cleanup: Found missing connection!!\r\n")
def tcp_session(sock):
while True:
try:
while opened:
print("Waiting for connection...")
@ -627,6 +628,7 @@ def tcp_session(sock):
print(traceback.format_exc())
def ssl_session(sock2):
with context.wrap_socket(sock2, server_side=True) as sock:
while True:
try:
while opened:
print("Waiting for connection...")