Remove undefined global variable warnings
This commit is contained in:
parent
f4ac72a0c0
commit
f1bd2d1442
4
init.lua
4
init.lua
|
@ -7,10 +7,10 @@ local path = minetest.get_modpath('cloaking')
|
|||
dofile(path .. '/core.lua')
|
||||
dofile(path .. '/chatcommands.lua')
|
||||
|
||||
if chat3 then
|
||||
if minetest.get_modpath('chat3') then
|
||||
dofile(path .. '/chat3.lua')
|
||||
end
|
||||
|
||||
if irc then
|
||||
if minetest.get_modpath('irc') then
|
||||
dofile(path .. '/irc.lua')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue