Преглед изворни кода

diaplan - Fixing typo in name of rpc command

Sercmd lists the dialplan.dump command, that doesn't exist. Changing
name to dialplan.translate so that the module and the documentation
agrees on the name.
Olle E. Johansson пре 13 година
родитељ
комит
c414cc4df4
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      modules/dialplan/dialplan.c

+ 1 - 1
modules/dialplan/dialplan.c

@@ -672,7 +672,7 @@ static void dialplan_rpc_translate(rpc_t* rpc, void* ctx)
 rpc_export_t dialplan_rpc_list[] = {
 	{"dialplan.reload", dialplan_rpc_reload,
 		dialplan_rpc_reload_doc, 0},
-	{"dialplan.dump",   dialplan_rpc_translate,
+	{"dialplan.translate",   dialplan_rpc_translate,
 		dialplan_rpc_translate_doc, 0},
 	{0, 0, 0, 0}
 };