Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
c414cc4df4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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}
 };