From: Wilfried Goesgens Date: Thu, 11 Oct 2012 14:57:32 +0000 (+0200) Subject: CtdlTerminateOtherSession(): fix evaluation whether we may kill this session or not. X-Git-Tag: v8.20~226 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=cb39d11d9b2cbbb96b759e22940cc55bb6c3351d CtdlTerminateOtherSession(): fix evaluation whether we may kill this session or not. --- diff --git a/citadel/context.c b/citadel/context.c index 255458d50..80c41a92a 100644 --- a/citadel/context.c +++ b/citadel/context.c @@ -168,7 +168,7 @@ int CtdlTerminateOtherSession (int session_num) } } - if (((ret & TERM_FOUND) != 0) && ((ret & TERM_ALLOWED) == 0)) + if (((ret & TERM_FOUND) != 0) && ((ret & TERM_ALLOWED) != 0)) { if (ccptr->IO != NULL) { AsyncIO *IO = ccptr->IO;