diff options
Diffstat (limited to 'pbx/pbx_realtime.c')
-rwxr-xr-x | pbx/pbx_realtime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_realtime.c b/pbx/pbx_realtime.c index af44f51e2..6b1c4511a 100755 --- a/pbx/pbx_realtime.c +++ b/pbx/pbx_realtime.c @@ -97,9 +97,9 @@ static char *tdesc = "Realtime Switch"; table++;\ cxt = buf; \ } else cxt = NULL; \ - if (!cxt || ast_strlen_zero(cxt)) \ + if (ast_strlen_zero(cxt)) \ cxt = context;\ - if (!table || ast_strlen_zero(table)) \ + if (ast_strlen_zero(table)) \ table = "extensions"; \ var = realtime_switch_common(table, cxt, exten, priority, mode); \ } else \ |