From 0f08da9a4e78e887aa4618906c03b62048c3ff0c Mon Sep 17 00:00:00 2001
From: Calinou <calinou@opmbx.org>
Date: Wed, 30 Apr 2014 20:04:58 +0200
Subject: [PATCH] Obey log_mods setting.

---
 init.lua | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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