aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_task.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-26 14:53:33 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-26 14:53:33 +0100
commit89f419a1f7ae12c63d51c9b5ad7e9284ca133d07 (patch)
tree719dceecbafe04f71e944a0a17baebd6cf697d93 /src/lua/lua_task.c
parent50c99730b9d5523701f852ba3e92fd0a3d9591aa (diff)
downloadrspamd-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.c2
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) {