mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-01-10 10:00:28 +01:00
According to RFC, NICK should be sent before USER (yes this is a real issue)
This commit is contained in:
parent
ca767c8b42
commit
d6b4872384
2
init.lua
2
init.lua
@ -120,8 +120,8 @@ function meta_preconnect:connect(_host, _port)
|
|||||||
self:send("PASS %s", password)
|
self:send("PASS %s", password)
|
||||||
end
|
end
|
||||||
|
|
||||||
self:send("USER %s 0 * :%s", self.username, self.realname)
|
|
||||||
self:send("NICK %s", self.nick)
|
self:send("NICK %s", self.nick)
|
||||||
|
self:send("USER %s 0 * :%s", self.username, self.realname)
|
||||||
|
|
||||||
self.channels = {}
|
self.channels = {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user