Update server.py

This commit is contained in:
Nova Cat 2025-02-04 17:12:42 -08:00
parent 63f558d80d
commit e1943ea199

View file

@ -250,6 +250,7 @@ def session(connection, client, ip, isssl=False):
return tags + (" " if tags != "" else "")
def tags_diffclient(nick:str): # Get tags of another client
othercap = property_list[nick]["v3cap"]
tags = ""
if "server-time" in othercap:
tags += "@time=" + datetime.datetime.now(datetime.timezone.utc).isoformat()[:-9] + "Z"
return tags + (" " if tags != "" else "")