Update server.py

This commit is contained in:
Nova Cat 2025-01-10 18:57:32 -08:00
parent d525b4a91e
commit bb7271bd08

View file

@ -193,7 +193,7 @@ def session(connection, client, ip, ssl=False):
for text in textt.replace("\r", "").split("\n"): for text in textt.replace("\r", "").split("\n"):
for i in socketListeners: for i in socketListeners:
if "onSocket" in dir(i): if "onSocket" in dir(i):
i.onSocket(socket=connection, ip=client[0], value=text, cachedNick=pending if pending != "*" else None) i.onSocket(socket=connection, ip=client[0], value=text, cachedNick=pending if pending != "*" else None, validated=finished)
command = text.split(" ")[0].upper() command = text.split(" ")[0].upper()
try: try:
args = text.split(" ")[1:] args = text.split(" ")[1:]