diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-30 13:24:14 -0700 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-30 13:24:14 -0700 |
commit | 08cf490f1273d07cbb1ccf7ee38e8bb0b85578e8 (patch) | |
tree | 538dc47bc8b0db09d08b2082e381b1af1301482a /src/plugins/fuzzy_check.c | |
parent | 2bd378744f6fdbeb79be10ec08851aed73405398 (diff) | |
download | rspamd-08cf490f1273d07cbb1ccf7ee38e8bb0b85578e8.tar.gz rspamd-08cf490f1273d07cbb1ccf7ee38e8bb0b85578e8.zip |
Fix issue with command paths.
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r-- | src/plugins/fuzzy_check.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 7b7dfa28e..24f2ec312 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -1098,14 +1098,14 @@ fuzzy_attach_controller (struct module_ctx *ctx, GHashTable *commands) cmd->require_message = TRUE; cmd->handler = fuzzy_add_handler; cmd->ctx = ctx; - g_hash_table_insert (commands, "/fuzzy_add", cmd); + g_hash_table_insert (commands, "/fuzzyadd", cmd); cmd = rspamd_mempool_alloc (fctx->fuzzy_pool, sizeof (*cmd)); cmd->privilleged = TRUE; cmd->require_message = TRUE; cmd->handler = fuzzy_delete_handler; cmd->ctx = ctx; - g_hash_table_insert (commands, "/fuzzy_del", cmd); + g_hash_table_insert (commands, "/fuzzydel", cmd); return 0; } |