summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorCalinou <calinou@opmbx.org>2014-04-30 20:04:58 +0200
committerCalinou <calinou@opmbx.org>2014-04-30 20:04:58 +0200
commit0f08da9a4e78e887aa4618906c03b62048c3ff0c (patch)
tree5a84bb7ccbabe3c7f28240e1ef7d7c2f74ed6027 /init.lua
parentf848f5174f193a0583a1152285a12e121a4451c9 (diff)
Obey log_mods setting.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 1816e6a..7970f26 100644
--- a/init.lua
+++ b/init.lua
@@ -365,4 +365,6 @@ if minetest.get_modpath("mg") then
dofile(moreores_modpath.."/mg.lua")
end
-print(S("[moreores] loaded."))
+if minetest.setting_getbool("log_mods") then
+ print(S("[moreores] loaded."))
+end