From cb39d11d9b2cbbb96b759e22940cc55bb6c3351d Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Thu, 11 Oct 2012 16:57:32 +0200 Subject: [PATCH] CtdlTerminateOtherSession(): fix evaluation whether we may kill this session or not. --- citadel/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2