From 28176fe0c9f3bf653b37a74d445646bd17571447 Mon Sep 17 00:00:00 2001 From: swee <meow@swee.codes> Date: Thu, 3 Apr 2025 16:17:56 -0700 Subject: [PATCH] Update server.py --- server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index 5ee06a5..40a533d 100644 --- a/server.py +++ b/server.py @@ -273,7 +273,9 @@ def multiserverhost(sock, client): lower_nicks[nck.lower()] = usr # Add the lowercase nickname users_externalservers[nck] = client[0] # Add to the list of external users elif txt.split(" ")[0] == "SND": # When a token was sent by another server - property_list[txt.split(" ")[1]]["pendingSend"] += " ".join(txt.split(" ")[2:]) # Send the text to the specified user + nck = txt.split(" ")[1] # Nickname + cmd = txt.split(" ")[2] # Command + arg = txt.split(" ")[3:] # Arguments elif txt.split(" ")[0] == "CNGPROP": # When properties changed on another server nck = txt.split(" ")[1] # Nickname usr = json.loads(" ".join(txt.split(" ")[2:])) # JSON