diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-05 14:00:08 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-05 14:00:08 +0000 |
commit | 75327b3889c80ad0a0c95ccf4444b5c2bc148e14 (patch) | |
tree | d322e1dda625fed70ded03abe1a179134624bd8e /src/libserver/dynamic_cfg.c | |
parent | 72539a7ad17fb79ef68c39d728a5f706947e3441 (diff) | |
download | rspamd-75327b3889c80ad0a0c95ccf4444b5c2bc148e14.tar.gz rspamd-75327b3889c80ad0a0c95ccf4444b5c2bc148e14.zip |
[Project] Convert the remaining
Diffstat (limited to 'src/libserver/dynamic_cfg.c')
-rw-r--r-- | src/libserver/dynamic_cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/dynamic_cfg.c b/src/libserver/dynamic_cfg.c index cd5cc4e30..80121c9cd 100644 --- a/src/libserver/dynamic_cfg.c +++ b/src/libserver/dynamic_cfg.c @@ -482,7 +482,7 @@ rspamd_maybe_add_lua_dynsym(struct rspamd_config *cfg, if (lua_type(L, -1) == LUA_TFUNCTION) { pcfg = lua_newuserdata(L, sizeof(*pcfg)); *pcfg = cfg; - rspamd_lua_setclass(L, "rspamd{config}", -1); + rspamd_lua_setclass(L, rspamd_config_classname, -1); lua_pushstring(L, sym); lua_pushnumber(L, score); @@ -530,7 +530,7 @@ rspamd_maybe_add_lua_dynact(struct rspamd_config *cfg, if (lua_type(L, -1) == LUA_TFUNCTION) { pcfg = lua_newuserdata(L, sizeof(*pcfg)); *pcfg = cfg; - rspamd_lua_setclass(L, "rspamd{config}", -1); + rspamd_lua_setclass(L, rspamd_config_classname, -1); lua_pushstring(L, action); lua_pushnumber(L, score); |