bug set
This commit is contained in:
parent
ba8c6d4624
commit
286e0afc18
@ -255,7 +255,7 @@
|
|||||||
|
|
||||||
function save_value( text )
|
function save_value( text )
|
||||||
var_name, var_value = string.match(text, "(%a+) (.+)")
|
var_name, var_value = string.match(text, "(%a+) (.+)")
|
||||||
if (a == nil or b == nil) then
|
if (var_name == nil or var_value == nil) then
|
||||||
return "Usage: !set var_name value"
|
return "Usage: !set var_name value"
|
||||||
end
|
end
|
||||||
config.values[var_name] = var_value
|
config.values[var_name] = var_value
|
||||||
|
Reference in New Issue
Block a user