1
0
mirror of https://github.com/minetest-mods/irc.git synced 2024-09-27 13:50:21 +02: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 end
if self.config.NSPass then if self.config.NSPass then
self:say("NickServ", "IDENTIFY "..self.config.NSPass) self.conn:queue(irc.msgs.privmsg(
"NickServ", "IDENTIFY "..self.config.NSPass))
end end
self.conn:join(self.config.channel, self.config.key) self.conn:join(self.config.channel, self.config.key)