mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
changes in notify_shutdown
This commit is contained in:
parent
202bfdd99a
commit
1ffd6729fa
4 changed files with 7 additions and 9 deletions
|
@ -266,7 +266,7 @@ htget(prot, query, headers, qs) {
|
|||
s += "<b>Your chatserver is being restarted.</b>";
|
||||
// write at the bottom wouldn't be called after shutdown, would it?
|
||||
write(s);
|
||||
shutdown();
|
||||
server_shutdown("restart by web configuration", 1);
|
||||
return 1;
|
||||
case "list_udp":
|
||||
{
|
||||
|
|
|
@ -626,7 +626,7 @@ sName2(a) {
|
|||
"Object could not be restored!");
|
||||
|
||||
#ifdef PANIC_ON_NO_ADMIN
|
||||
shutdown();
|
||||
server_shutdown("could not restore admin");
|
||||
#endif
|
||||
destruct(ME);
|
||||
return 0;
|
||||
|
@ -687,7 +687,7 @@ sName2(a) {
|
|||
"You are registered as admin, but I could not restore your data!");
|
||||
// raise_error("boss without password\n");
|
||||
#ifdef PANIC_ON_NO_ADMIN
|
||||
shutdown();
|
||||
server_shutdown("could not restore admin");
|
||||
#endif
|
||||
destruct(ME);
|
||||
return 0;
|
||||
|
|
|
@ -215,9 +215,6 @@ int logon(int neverfails) {
|
|||
"Your cipher choice does not provide forward secrecy.",
|
||||
([ "_circuit_encryption_cipher": t ]));
|
||||
QUIT
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
if (mappingp(cert = tls_certificate(ME, 0))) {
|
||||
if (cert[0] != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue