aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/fuzzy_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r--src/plugins/fuzzy_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index 581c1c12d..62ddef504 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -1570,7 +1570,7 @@ fuzzy_rule_check_mimepart(struct rspamd_task *task,
ppart = lua_newuserdata(L, sizeof(*ppart));
*ppart = part;
- rspamd_lua_setclass(L, "rspamd{mimepart}", -1);
+ rspamd_lua_setclass(L, rspamd_mimepart_classname, -1);
lua_pushnumber(L, rule->lua_id);