1
0
mirror of https://github.com/ShadowNinja/LuaIRC.git synced 2025-01-09 17:40:29 +01:00

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

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 = {}