# HG changeset patch # User jbe # Date 1427134708 -3600 # Node ID 6bb85c1bf11ac175efe7e9827417b3a821a0545f # Parent f5660406ad3bcf4dacad5381e3d2f1c1e0cc98f2 Fixed typo in error message diff -r f5660406ad3b -r 6bb85c1bf11a framework/bin/mcp.lua --- a/framework/bin/mcp.lua Mon Mar 23 19:09:12 2015 +0100 +++ b/framework/bin/mcp.lua Mon Mar 23 19:18:28 2015 +0100 @@ -36,7 +36,7 @@ _G[key] = value else if type(key) == "string" and string.match(key, "^[A-Za-z_][A-Za-z_0-9]*$") then - error('Attempt to set global variable "' .. key .. '" (hint: use _G.' .. key .. '= to override protection mechnamism)', 2) + error('Attempt to set global variable "' .. key .. '" (hint: use _G.' .. key .. '= to override protection mechanism)', 2) else error('Attempt to set global variable', 2) end