local modname = minetest.get_current_modname() local modpath = minetest.get_modpath (modname) local isset = ocutil.setting_nonempty if isset ("irc.channel" ) and isset ("irc.nick" ) and isset ("irc.server" ) then dofile (modpath .. "/chathist.lua") dofile (modpath .. "/baseinit.lua") end