summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-11-09 01:38:24 +0100
committerWuzzy <almikes@aol.com>2016-11-09 01:38:24 +0100
commitecf60962c22166ebbe2928c91e0e95e1e6da3917 (patch)
treea4aa42f2ae448ae1c1195c6c1ac6d6e6476c760a /init.lua
parentc72837b869c1d9f88915a8dd0d0e7c273d7c284d (diff)
Fix mod not working with intllib and mod security
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 57c2c47..6f9b43f 100644
--- a/init.lua
+++ b/init.lua
@@ -1,8 +1,7 @@
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if minetest.get_modpath("intllib") then
- dofile(minetest.get_modpath("intllib").."/intllib.lua")
- S = intllib.Getter(minetest.get_current_modname())
+ S = intllib.Getter()
else
S = function(s) return s end
end