webmcp
changeset 319:6bb85c1bf11a
Fixed typo in error message
author | jbe |
---|---|
date | Mon Mar 23 19:18:28 2015 +0100 (2015-03-23) |
parents | f5660406ad3b |
children | e3e2a03f75b2 |
files | framework/bin/mcp.lua |
line diff
1.1 --- a/framework/bin/mcp.lua Mon Mar 23 19:09:12 2015 +0100 1.2 +++ b/framework/bin/mcp.lua Mon Mar 23 19:18:28 2015 +0100 1.3 @@ -36,7 +36,7 @@ 1.4 _G[key] = value 1.5 else 1.6 if type(key) == "string" and string.match(key, "^[A-Za-z_][A-Za-z_0-9]*$") then 1.7 - error('Attempt to set global variable "' .. key .. '" (hint: use _G.' .. key .. '=<value> to override protection mechnamism)', 2) 1.8 + error('Attempt to set global variable "' .. key .. '" (hint: use _G.' .. key .. '=<value> to override protection mechanism)', 2) 1.9 else 1.10 error('Attempt to set global variable', 2) 1.11 end