From ce1ee49bc6c0c55152a1f6ba06b66b867a2139ba Mon Sep 17 00:00:00 2001 From: deuce <> Date: Fri, 3 Apr 2020 22:19:16 +0000 Subject: [PATCH] Differentiate between the two "Server not configured" messages. --- exec/load/ircd_server.js | 2 +- exec/load/ircd_unreg.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/load/ircd_server.js b/exec/load/ircd_server.js index 22e834397e..8bb386c2da 100644 --- a/exec/load/ircd_server.js +++ b/exec/load/ircd_server.js @@ -621,7 +621,7 @@ function Server_Work(cmdline) { if (!my_server) break; if (cmd[1] != "OK") { - my_server.quit("Server not configured."); + my_server.quit("S: Server not configured."); break; } Servers[my_server.nick.toLowerCase()] = new IRC_Server(); diff --git a/exec/load/ircd_unreg.js b/exec/load/ircd_unreg.js index b76145a9dd..96e2ae46b2 100644 --- a/exec/load/ircd_unreg.js +++ b/exec/load/ircd_unreg.js @@ -204,7 +204,7 @@ function IRC_Unregistered_Commands(cmdline) { ( (this_nline.password == "*") && !this.outgoing && !(this_nline.flags&NLINE_CHECK_QWKPASSWD) ) ) && !qwk_slave) { - this.quit("Server not configured."); + this.quit("UR: Server not configured."); return 0; } // Take care of registration right now. -- GitLab