]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
only ignore events if you matched something on a cp
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 24 Sep 2011 14:58:04 +0000 (09:58 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Sat, 24 Sep 2011 14:58:04 +0000 (09:58 -0500)
src/mod/applications/mod_sms/mod_sms.c

index df6ff5f00cdadc469df7f57019131edbbf6ec9ff..70db75a5e376a04b5a64e930a218ca69b26417f5 100644 (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;