aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_groupcount.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_groupcount.c')
-rwxr-xr-xapps/app_groupcount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_groupcount.c b/apps/app_groupcount.c
index 6ddb20f65..8d7479c15 100755
--- a/apps/app_groupcount.c
+++ b/apps/app_groupcount.c
@@ -145,7 +145,7 @@ static int group_check_exec(struct ast_channel *chan, void *data)
deprecation_warning = 1;
}
- if (!data || ast_strlen_zero(data)) {
+ if (ast_strlen_zero(data)) {
ast_log(LOG_WARNING, "CheckGroup requires an argument(max[@category])\n");
return res;
}