diff options
-rw-r--r-- | misc/freeswitch/scripts/common/group.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/common/group.lua b/misc/freeswitch/scripts/common/group.lua index 1763e69..b9cae61 100644 --- a/misc/freeswitch/scripts/common/group.lua +++ b/misc/freeswitch/scripts/common/group.lua @@ -152,6 +152,10 @@ end function Group.intersection(self, set_one, set_two) + if not set_one or not set_two then + return {}; + end + local basic_set = {}; for index=1, #set_one do basic_set[set_one[index]] = true; |