Fix leaked globals.

This commit is contained in:
Diego Martínez 2014-05-28 12:05:08 -03:00
parent 56a5de4a91
commit 3b35bb1871
1 changed files with 1 additions and 1 deletions

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,