aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/symcache
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-03-05 14:00:08 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-03-05 14:00:08 +0000
commit75327b3889c80ad0a0c95ccf4444b5c2bc148e14 (patch)
treed322e1dda625fed70ded03abe1a179134624bd8e /src/libserver/symcache
parent72539a7ad17fb79ef68c39d728a5f706947e3441 (diff)
downloadrspamd-75327b3889c80ad0a0c95ccf4444b5c2bc148e14.tar.gz
rspamd-75327b3889c80ad0a0c95ccf4444b5c2bc148e14.zip
[Project] Convert the remaining
Diffstat (limited to 'src/libserver/symcache')
-rw-r--r--src/libserver/symcache/symcache_impl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/symcache/symcache_impl.cxx b/src/libserver/symcache/symcache_impl.cxx
index 93675ac16..63ac4a58e 100644
--- a/src/libserver/symcache/symcache_impl.cxx
+++ b/src/libserver/symcache/symcache_impl.cxx
@@ -1052,7 +1052,7 @@ auto symcache::periodic_resort(struct ev_loop *ev_loop, double cur_time, double
lua_rawgeti(L, LUA_REGISTRYINDEX, peak_cb);
pbase = (struct ev_loop **) lua_newuserdata(L, sizeof(*pbase));
*pbase = ev_loop;
- rspamd_lua_setclass(L, "rspamd{ev_base}", -1);
+ rspamd_lua_setclass(L, rspamd_ev_base_classname, -1);
lua_pushlstring(L, item->symbol.c_str(), item->symbol.size());
lua_pushnumber(L, item->st->avg_frequency);
lua_pushnumber(L, ::sqrt(item->st->stddev_frequency));