Update server.py
This commit is contained in:
parent
96e532f914
commit
776e5e4355
1 changed files with 3 additions and 2 deletions
|
@ -72,7 +72,8 @@ def session(connection, client):
|
|||
if not ready:
|
||||
username = text.split(" ")[1]
|
||||
ready = True
|
||||
elif "CAP LS" in text:
|
||||
elif command == "CAP":
|
||||
if args[0] == "LS"
|
||||
connection.sendall(bytes(f":{server} CAP * LS :away-notify", "UTF-8"))
|
||||
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"))
|
||||
|
|
Loading…
Reference in a new issue