Browse Source

Fix issue with command paths.

tags/0.7.0
Vsevolod Stakhov 10 years ago
parent
commit
08cf490f12
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/plugins/fuzzy_check.c

+ 2
- 2
src/plugins/fuzzy_check.c View 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;
}

Loading…
Cancel
Save