浏览代码

auth_ephemeral: Fix typo in RPC commands

Carsten Bock 8 年之前
父节点
当前提交
6fc4367f1a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/auth_ephemeral/auth_ephemeral_mod.c

+ 1 - 1
src/modules/auth_ephemeral/auth_ephemeral_mod.c

@@ -386,7 +386,7 @@ rpc_export_t autheph_rpc_cmds[] = {
 		autheph_rpc_dump_secrets_doc, RET_ARRAY},
 	{"autheph.add_secret", autheph_rpc_add_secret,
 		autheph_rpc_add_secret_doc, 0},
-	{"autheph.add_secret", autheph_rpc_rm_secret,
+	{"autheph.rm_secret", autheph_rpc_rm_secret,
 		autheph_rpc_rm_secret_doc, 0},
 	{0, 0, 0, 0}
 };