parent
63f558d80d
commit
e1943ea199
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ def session(connection, client, ip, isssl=False):
|
||||||
return tags + (" " if tags != "" else "")
|
return tags + (" " if tags != "" else "")
|
||||||
def tags_diffclient(nick:str): # Get tags of another client
|
def tags_diffclient(nick:str): # Get tags of another client
|
||||||
othercap = property_list[nick]["v3cap"]
|
othercap = property_list[nick]["v3cap"]
|
||||||
|
tags = ""
|
||||||
if "server-time" in othercap:
|
if "server-time" in othercap:
|
||||||
tags += "@time=" + datetime.datetime.now(datetime.timezone.utc).isoformat()[:-9] + "Z"
|
tags += "@time=" + datetime.datetime.now(datetime.timezone.utc).isoformat()[:-9] + "Z"
|
||||||
return tags + (" " if tags != "" else "")
|
return tags + (" " if tags != "" else "")
|
||||||
|
|
Loading…
Add table
Reference in a new issue