diff options
Diffstat (limited to 'apps/app_meetme.c')
-rwxr-xr-x | apps/app_meetme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 90e994089..0d9d00ed8 100755 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -964,7 +964,7 @@ zapretry: } /* trying to add moh for single person conf */ - if ((confflags & CONFFLAG_MOH) && !( confflags & CONFFLAG_WAITMARKED)) { + if (confflags & CONFFLAG_MOH) { if (conf->users == 1) { if (musiconhold == 0) { ast_moh_start(chan, NULL); @@ -979,7 +979,7 @@ zapretry: } /* Leave if the last marked user left */ - if (currentmarked == 0 && (confflags & CONFFLAG_MARKEDEXIT)) { + if (currentmarked == 0 && lastmarked != 0 && (confflags & CONFFLAG_MARKEDEXIT)) { ret = -1; break; } |