forked from minetest-mods/irc
Fix leaked globals.
This commit is contained in:
parent
56a5de4a91
commit
3b35bb1871
2
init.lua
2
init.lua
@ -76,7 +76,7 @@ function irc:connect()
|
|||||||
realname = "Minetest",
|
realname = "Minetest",
|
||||||
})
|
})
|
||||||
self:doHook(self.conn)
|
self:doHook(self.conn)
|
||||||
good, message = pcall(function()
|
local good, message = pcall(function()
|
||||||
self.conn:connect({
|
self.conn:connect({
|
||||||
host = self.config.server,
|
host = self.config.server,
|
||||||
port = self.config.port,
|
port = self.config.port,
|
||||||
|
Loading…
Reference in New Issue
Block a user