From 8aec68c37fe4eb5db0312fbb770c26dede090621 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 24 Jan 2011 22:30:57 -0500 Subject: [PATCH] COND:AIDE now observes logged in semantics --- webcit/auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webcit/auth.c b/webcit/auth.c index eba2e3bc4..bbb54f32e 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -940,13 +940,13 @@ int ConditionalHaveAccessCreateRoom(StrBuf *Target, WCTemplputParams *TP) int ConditionalAide(StrBuf *Target, WCTemplputParams *TP) { wcsession *WCC = WC; - return (WCC != NULL)? (WC->is_aide == 0) : 0; + return (WCC != NULL) ? ((WCC->logged_in == 0)||(WC->is_aide == 0)) : 0; } int ConditionalIsLoggedIn(StrBuf *Target, WCTemplputParams *TP) { wcsession *WCC = WC; - return (WCC != NULL)? (WCC->logged_in == 0) : 0; + return (WCC != NULL) ? (WCC->logged_in == 0) : 0; } -- 2.30.2