summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorTim <t4im@users.noreply.github.com>2015-02-05 10:00:10 +0100
committerTim <t4im@users.noreply.github.com>2015-02-05 10:00:10 +0100
commit1a1bfc3839ccd3001b4f446b5ad230711fd258b1 (patch)
treed45f8d44b8e49f634ca8477e2ed5fd35ee41457d /api.lua
parent1a962542e65c8f8202eca6b4238b4d8e0068c2cf (diff)
supress intllib check warning, this fixes #19
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index 1ab19fc..7ee5b9e 100644
--- a/api.lua
+++ b/api.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