1
0
mirror of https://github.com/minetest-mods/irc.git synced 2025-02-05 11:30:20 +01:00

Fix leaked globals.

This commit is contained in:
Diego Martínez 2014-05-28 12:05:08 -03:00
parent 56a5de4a91
commit 3b35bb1871

View File

@ -76,7 +76,7 @@ function irc:connect()
realname = "Minetest",
})
self:doHook(self.conn)
good, message = pcall(function()
local good, message = pcall(function()
self.conn:connect({
host = self.config.server,
port = self.config.port,