cmd_TERM: oops, non aides may kill their own sessions.
authorWilfried Goesgens <dothebart@citadel.org>
Mon, 23 Jul 2012 14:24:26 +0000 (16:24 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 23 Jul 2012 14:24:26 +0000 (16:24 +0200)
citadel/citserver.c

index 2b5b72b77f85b2e56ecda82e6697e13e42ca926f..7e5538b51817757f789466066e61edda741c518e 100644 (file)
@@ -710,8 +710,6 @@ void cmd_term(char *cmdbuf)
        int session_num;
        int terminated = 0;
 
-       if (CtdlAccessCheck(ac_aide)) return;
-
        session_num = extract_int(cmdbuf, 0);
 
        terminated = CtdlTerminateOtherSession(session_num);