1
0
mirror of https://github.com/minetest-mods/irc.git synced 2024-12-27 09:10:21 +01:00

Queue NickServ message for later.

Fixes #35.
This commit is contained in:
Diego Martínez 2016-12-02 20:40:18 -03:00
parent 3e2d98f9ef
commit 73cdb58c99

View File

@ -129,7 +129,8 @@ function irc:connect()
end
if self.config.NSPass then
self:say("NickServ", "IDENTIFY "..self.config.NSPass)
self.conn:queue(irc.msgs.privmsg(
"NickServ", "IDENTIFY "..self.config.NSPass))
end
self.conn:join(self.config.channel, self.config.key)