According to RFC, NICK should be sent before USER (yes this is a real issue)

This commit is contained in:
Joshua Simmons 2010-07-21 01:13:20 +10:00
parent ca767c8b42
commit d6b4872384
1 changed files with 1 additions and 1 deletions

View File

@ -120,8 +120,8 @@ function meta_preconnect:connect(_host, _port)
self:send("PASS %s", password)
end
self:send("USER %s 0 * :%s", self.username, self.realname)
self:send("NICK %s", self.nick)
self:send("USER %s 0 * :%s", self.username, self.realname)
self.channels = {}