Update server.py

This commit is contained in:
Nova Cat 2024-12-09 13:35:49 -08:00
parent 9d6a325c63
commit d9dbc242ef

View file

@ -74,7 +74,7 @@ def session(connection, client):
ready = True ready = True
elif command == "CAP": elif command == "CAP":
if args[0] == "LS": if args[0] == "LS":
connection.sendall(bytes(f":{server} CAP * LS :away-notify\r\n", "UTF-8")) connection.sendall(bytes(f":{server} CAP * LS :\r\n", "UTF-8"))
elif (ready and already_set) and not finished: elif (ready and already_set) and not finished:
connection.sendall(bytes(f":{server} 001 {pending} :Welcome to the {displayname} Internet Relay Chat Network {pending}\r\n", "UTF-8")) connection.sendall(bytes(f":{server} 001 {pending} :Welcome to the {displayname} Internet Relay Chat Network {pending}\r\n", "UTF-8"))
connection.sendall(bytes(f":{server} 002 {pending} :Your host is {server}[{ip}/6667], running version IRCat-v{__version__}\r\n", "UTF-8")) connection.sendall(bytes(f":{server} 002 {pending} :Your host is {server}[{ip}/6667], running version IRCat-v{__version__}\r\n", "UTF-8"))