diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-10-26 14:53:33 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-10-26 14:53:33 +0100 |
commit | 89f419a1f7ae12c63d51c9b5ad7e9284ca133d07 (patch) | |
tree | 719dceecbafe04f71e944a0a17baebd6cf697d93 /src/lua/lua_task.c | |
parent | 50c99730b9d5523701f852ba3e92fd0a3d9591aa (diff) | |
download | rspamd-89f419a1f7ae12c63d51c9b5ad7e9284ca133d07.tar.gz rspamd-89f419a1f7ae12c63d51c9b5ad7e9284ca133d07.zip |
[Minor] Unify set_pre_result invocations
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r-- | src/lua/lua_task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 3d81391b0..bc9ab8750 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -2321,7 +2321,7 @@ lua_task_set_pre_result (lua_State * L) action->name, action->threshold); } - return luaL_error (L, "unknown action %s", lua_tostring (L, 2)); + return luaL_error (L, "unknown action %s", act_str); } if (module == NULL) { |