]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix seg
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 27 Jul 2012 18:23:30 +0000 (13:23 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 27 Jul 2012 18:23:30 +0000 (13:23 -0500)
src/mod/applications/mod_conference/mod_conference.c

index 779feb393dfc2672933d8eb2360f1319dcffaebb..28c90062dd6e810b5835d91ee058fd3c67cf746e 100644 (file)
@@ -7799,9 +7799,7 @@ static conference_obj_t *conference_find(char *name, char *domain)
                        switch_core_hash_delete(globals.conference_hash, conference->name);
                        switch_clear_flag(conference, CFLAG_INHASH);
                        conference = NULL;
-               }
-
-               if (!zstr(domain) && conference->domain && strcasecmp(domain, conference->domain)) {
+               } else if (!zstr(domain) && conference->domain && strcasecmp(domain, conference->domain)) {
                        conference = NULL;
                }
        }