diff options
author | Tim <t4im@users.noreply.github.com> | 2015-02-05 10:00:10 +0100 |
---|---|---|
committer | Tim <t4im@users.noreply.github.com> | 2015-02-05 10:00:10 +0100 |
commit | 1a1bfc3839ccd3001b4f446b5ad230711fd258b1 (patch) | |
tree | d45f8d44b8e49f634ca8477e2ed5fd35ee41457d | |
parent | 1a962542e65c8f8202eca6b4238b4d8e0068c2cf (diff) |
supress intllib check warning, this fixes #19
-rw-r--r-- | api.lua | 2 | ||||
-rw-r--r-- | bags.lua | 2 | ||||
-rw-r--r-- | internal.lua | 2 | ||||
-rw-r--r-- | register.lua | 2 | ||||
-rw-r--r-- | waypoints.lua | 2 |
5 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ local S -if intllib then +if rawget(_G, "intllib") then S = intllib.Getter() else S = function(s) return s end @@ -4,7 +4,7 @@ -- License: GPLv3 local S -if intllib then +if rawget(_G, "intllib") then S = intllib.Getter() else S = function(s) return s end diff --git a/internal.lua b/internal.lua index 281653e..50150b7 100644 --- a/internal.lua +++ b/internal.lua @@ -1,5 +1,5 @@ local S -if intllib then +if rawget(_G, "intllib") then S = intllib.Getter() else S = function(s) return s end diff --git a/register.lua b/register.lua index bc379ee..5a77bc0 100644 --- a/register.lua +++ b/register.lua @@ -1,5 +1,5 @@ local S -if intllib then +if rawget(_G, "intllib") then S = intllib.Getter() else S = function(s) return s end diff --git a/waypoints.lua b/waypoints.lua index 94f9f11..aef9a2f 100644 --- a/waypoints.lua +++ b/waypoints.lua @@ -1,5 +1,5 @@ local S -if intllib then +if rawget(_G, "intllib") then S = intllib.Getter() else S = function(s) return s end |