aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf.d/controller/lua.d/aft.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/controller/lua.d/aft.lua b/conf.d/controller/lua.d/aft.lua
index 1ff6d25..7b6379a 100644
--- a/conf.d/controller/lua.d/aft.lua
+++ b/conf.d/controller/lua.d/aft.lua
@@ -338,7 +338,7 @@ local function assertVerbCallParameters(src, api, verb, args)
_AFT.assertIsUserdata(src, "Source must be an opaque userdata pointer which will be passed to the binder")
_AFT.assertIsString(api, "API and Verb must be string")
_AFT.assertIsString(verb, "API and Verb must be string")
- _AFT.assertIsTable(args, "Arguments must use LUA Table (event empty)")
+ _AFT.assertIsTrue( (type(args) == "table" or type(args) == "string"), "Arguments must use LUA Table or string (even empty)")
end
function _AFT.callVerb(api, verb, args)