aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pbx/pbx_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index 5f2a96311..4a106b96c 100644
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -1334,7 +1334,7 @@ static int handle_save_dialplan(int fd, int argc, char *argv[])
if (*s == '|')
*t = ',';
else {
- if (*s == ',')
+ if (*s == ',' || *s == ';')
*t++ = '\\';
*t = *s;
}