diff --git a/src/mod/applications/mod_easyroute/mod_easyroute.c b/src/mod/applications/mod_easyroute/mod_easyroute.c index 5fdbf3abb2..e039c86e38 100644 --- a/src/mod/applications/mod_easyroute/mod_easyroute.c +++ b/src/mod/applications/mod_easyroute/mod_easyroute.c @@ -357,7 +357,7 @@ SWITCH_STANDARD_API(easyroute_function) } } - if (!route_lookup(destnum, &results, noat, separator) == SWITCH_STATUS_SUCCESS) { + if (route_lookup(destnum, &results, noat, separator) != SWITCH_STATUS_SUCCESS) { stream->write_function(stream, "No Match!\n"); status = SWITCH_STATUS_SUCCESS; goto done;