]> source.dussan.org Git - rspamd.git/commitdiff
Fix issue with command paths.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 30 Apr 2014 20:24:14 +0000 (13:24 -0700)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 30 Apr 2014 20:24:14 +0000 (13:24 -0700)
src/plugins/fuzzy_check.c

index 7b7dfa28ed6c1afb680f200d2e56c6c87e89f917..24f2ec3121f3ec79519da1593d96c0ebc91b86f9 100644 (file)
@@ -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;
 }