]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix missing paren in logic for hard mute enter muted mode
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 29 Oct 2014 17:16:27 +0000 (12:16 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 29 Oct 2014 17:16:32 +0000 (12:16 -0500)
src/mod/applications/mod_conference/mod_conference.c

index 4fbce0152af069a4877a571ee245c8b090992cff..8c4886066f3e7d023c4c3acea61409b0a952826c 100644 (file)
@@ -9278,7 +9278,7 @@ SWITCH_STANDARD_APP(conference_function)
                        if (flags_str) {
                                set_mflags(flags_str,&mflags);
 
-                               if (!(mflags & MFLAG_CAN_SPEAK) && (mflags & MFLAG_INDICATE_MUTE)) {
+                               if (!((mflags & MFLAG_CAN_SPEAK) && (mflags & MFLAG_INDICATE_MUTE))) {
                                        switch_core_media_hard_mute(session, SWITCH_TRUE);
                                }
 
@@ -9579,7 +9579,7 @@ SWITCH_STANDARD_APP(conference_function)
        set_mflags(flags_str, &mflags);
        mflags |= MFLAG_RUNNING;
 
-       if (!(mflags & MFLAG_CAN_SPEAK) && (mflags & MFLAG_INDICATE_MUTE)) {
+       if (!((mflags & MFLAG_CAN_SPEAK) && (mflags & MFLAG_INDICATE_MUTE))) {
                switch_core_media_hard_mute(member.session, SWITCH_TRUE);
        }