aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua')
-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 9cc037796..38b22f489 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -5774,7 +5774,7 @@ lua_task_set_settings_id (lua_State *L)
rspamd_config_find_settings_id_ref (task->cfg, id);
if (selt == NULL) {
- return luaL_error (L, "settings id %u is unknown", id);
+ return luaL_error (L, "settings id %f is unknown", (lua_Number)id);
}
if (task->settings_elt) {
/* Overwrite existing settings from Lua */