Initial code cleanup for flow scripts

This commit is contained in:
Luca Deri 2019-10-09 23:39:44 +02:00
parent 9910180137
commit fc6f055137
4 changed files with 22 additions and 28 deletions

View file

@ -348,7 +348,7 @@ function user_scripts.load(script_type, ifid, subdir, hook_filter, ignore_disabl
-- no more hooks allowed
break
elseif(rv.hooks[hook] == nil) then
traceError(TRACE_WARNING, TRACE_CONSOLE, string.format("Unkown hook '%s' in module '%s'", hook, check_module.key))
traceError(TRACE_WARNING, TRACE_CONSOLE, string.format("Unknown hook '%s' in module '%s'", hook, check_module.key))
else
rv.hooks[hook][check_module.key] = hook_fn
end