summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts/common
diff options
context:
space:
mode:
Diffstat (limited to 'misc/freeswitch/scripts/common')
-rw-r--r--misc/freeswitch/scripts/common/group.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/common/group.lua b/misc/freeswitch/scripts/common/group.lua
index db56129..1763e69 100644
--- a/misc/freeswitch/scripts/common/group.lua
+++ b/misc/freeswitch/scripts/common/group.lua
@@ -89,7 +89,7 @@ end
function Group.permission_targets(self, group_ids, permission)
- if not group_ids or not permission then
+ if not group_ids or #group_ids == 0 or not permission then
return {};
end