From aba2b391fbe013519c10e5ff555b86632ab71288 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 27 Jul 2012 13:23:30 -0500 Subject: [PATCH] fix seg --- src/mod/applications/mod_conference/mod_conference.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 779feb393d..28c90062dd 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -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; } }