Remove undefined global variable warnings

This commit is contained in:
luk3yx 2018-07-26 19:21:03 +12:00
parent f4ac72a0c0
commit f1bd2d1442
1 changed files with 2 additions and 2 deletions

View File

@ -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