Made USER and NICK commands use NICK varaible

This commit is contained in:
aewens 2020-03-14 12:21:19 -05:00
parent f9e2dbdac3
commit 887a892272
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ def _join(line, state):
if channel not in server.channels:
_send(f"JOIN {channel}")
_send("USER test 0 * :test")
_send("NICK test321")
_send(f"USER {NICK} 0 * :{NICK}")
_send(f"NICK {NICK}")
# Load ircstates as a state mutation
events.use("ircstates", lambda raw: server.recv(raw))