summaryrefslogtreecommitdiff
path: root/server-beta/src/core/diagnostics/undefined-global.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/core/diagnostics/undefined-global.lua')
-rw-r--r--server-beta/src/core/diagnostics/undefined-global.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/server-beta/src/core/diagnostics/undefined-global.lua b/server-beta/src/core/diagnostics/undefined-global.lua
index 8476df61..586a9955 100644
--- a/server-beta/src/core/diagnostics/undefined-global.lua
+++ b/server-beta/src/core/diagnostics/undefined-global.lua
@@ -44,14 +44,14 @@ return function (uri, callback)
end
if info.mode == 'get' and not hasSet[source] then
local message
- local otherVersion = library.other[key]
- local customVersion = library.custom[key]
+ local otherVersion = library.other[skey]
+ local customVersion = library.custom[skey]
if otherVersion then
message = ('%s(%s)'):format(message, lang.script('DIAG_DEFINED_VERSION', table.concat(otherVersion, '/'), config.config.runtime.version))
elseif customVersion then
message = ('%s(%s)'):format(message, lang.script('DIAG_DEFINED_CUSTOM', table.concat(customVersion, '/')))
else
- message = lang.script('DIAG_UNDEF_GLOBAL', info.key)
+ message = lang.script('DIAG_UNDEF_GLOBAL', skey)
end
callback {
start = source.start,