Update server.py

This commit is contained in:
Nova Cat 2025-01-13 17:17:27 -08:00
parent 9b4c0eb5a6
commit eda5a0e3da

View file

@ -575,10 +575,13 @@ def session(connection, client, ip, ssl=False):
if target.lower() in lower_nicks:
target = lower_nicks[target.lower()]
if target in channels_list:
print("Sending to "+ target + " Channel")
if pending in channels_list[target]:
for i in channels_list[channel]:
try:
if i != pending:
print(i)
print(f":{pending}!~{username}@{hostname} {text}\r\n")
nickname_list[i].sendall(bytes(f":{pending}!~{username}@{hostname} {text}\r\n","UTF-8"))
except:
pass