only ignore events if you matched something on a cp

This commit is contained in:
Anthony Minessale 2011-09-24 09:58:04 -05:00
parent 4feb26d3e8
commit a14b20af28
1 changed files with 2 additions and 4 deletions

View File

@ -379,11 +379,9 @@ static switch_status_t chat_send(switch_event_t *message_event)
}
switch_event_destroy(&exten);
status = SWITCH_STATUS_BREAK;
}
status = SWITCH_STATUS_BREAK;
return status;