* look exactly for 2 or 3, so the status request will still work.
authorWilfried Göesgens <willi@citadel.org>
Mon, 30 Jul 2007 23:22:48 +0000 (23:22 +0000)
committerWilfried Göesgens <willi@citadel.org>
Mon, 30 Jul 2007 23:22:48 +0000 (23:22 +0000)
citadel/citserver.c

index a89ef729b6899d1d568662368d3231ff2ee53954..262cb2b324ba6d3ad0106845978f0097b82920e9 100644 (file)
@@ -799,7 +799,7 @@ void cmd_scdn(char *argbuf)
        if (CtdlAccessCheck(ac_aide)) return;
 
        new_state = extract_int(argbuf, 0);
-       if (new_state > 1)
+       if ((new_state == 2) || (new_state == 3))
        {
                restart_server = 1;
                if (!running_as_daemon)