summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.sf.net>2013-03-05 09:01:25 -0200
committerDiego Martínez <kaeza@users.sf.net>2013-03-05 09:01:25 -0200
commit02b7a666f6e4e3253c44955fcfe9eb8fffd3eb5e (patch)
tree059a10da81e13dd0c7c808e9109505dd696e8ae0
parenta1948fb6d7c1cead07f84c0d27da56d97917d8eb (diff)
Removed unused return value from Getter()
-rw-r--r--intllib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/intllib.lua b/intllib.lua
index 18bd0b2..732aa9d 100644
--- a/intllib.lua
+++ b/intllib.lua
@@ -71,7 +71,7 @@ function load_strings ( modname, lang )
if (not f) then
f, e = io.open(minetest.get_modpath("intllib").."/locale/"..modname.."/"..lang..".txt");
if (not f) then
- return nil, "Could not load '"..LANG.."' texts: "..e;
+ return nil;
end
end
local strings;