* send page to all users on shutdown.
authorWilfried Göesgens <willi@citadel.org>
Sat, 8 Sep 2007 22:43:19 +0000 (22:43 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 8 Sep 2007 22:43:19 +0000 (22:43 +0000)
webcit/mainmenu.c

index 7842e50b96e39639877d0770715c593ad53ac47c..41c7af045425790a44b7cf52e8640cf6e6dfb6ae 100644 (file)
@@ -386,9 +386,11 @@ void display_shutdown(void)
                else
                {
                        // TODO: page the users... wait longer...
+                       serv_printf("SEXP broadcast|%s", message);
+                       serv_getln(buf, sizeof buf); // should we care?
                        wprintf("<html>\n"
                                "<head>\n"
-                               "<meta http-equiv=\"refresh\" content=\"5; URL=server_shutdown?when=now&\"/>\n"
+                               "<meta http-equiv=\"refresh\" content=\"65; URL=server_shutdown?when=now&\"/>\n"
                                "</head>\n"
                                "<body bgcolor=\"#FFFFFF\">\n"
                                "Please wait while your users are being paged, the citadel server will be restarted after that... "