aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_sendtext.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_sendtext.c')
-rwxr-xr-xapps/app_sendtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_sendtext.c b/apps/app_sendtext.c
index 917b8d71d..7bdf1d265 100755
--- a/apps/app_sendtext.c
+++ b/apps/app_sendtext.c
@@ -71,7 +71,7 @@ static int sendtext_exec(struct ast_channel *chan, void *data)
struct localuser *u;
char *status = "UNSUPPORTED";
- if (!data || ast_strlen_zero(data)) {
+ if (ast_strlen_zero(data)) {
ast_log(LOG_WARNING, "SendText requires an argument (text)\n");
return -1;
}