diff options
-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 b095de8e7..393a370a8 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -5725,7 +5725,7 @@ lua_task_set_settings (lua_State *L) if (!isnan (act_score)) { struct rspamd_action *new_act; - HASH_FIND_PTR (task->cfg->actions, act_name, new_act); + HASH_FIND_STR (task->cfg->actions, act_name, new_act); if (new_act == NULL) { /* New action! */ |