'USER <username> 0 * :<realname>' is technically more correct, per RFC2812, than

"USER <username> - - :<realname>'
This commit is contained in:
jesopo 2018-09-17 13:49:48 +01:00
parent f796fddee5
commit 17f318acb6

View file

@ -291,7 +291,7 @@ class Server(object):
return time_left return time_left
def send_user(self, username, realname): def send_user(self, username, realname):
self.send("USER %s - - :%s" % (username, realname)) self.send("USER %s 0 * :%s" % (username, realname))
def send_nick(self, nickname): def send_nick(self, nickname):
self.send("NICK %s" % nickname) self.send("NICK %s" % nickname)