Remove dead code

a4c124dff06b3cb143d58d42c73139dd0156e0e8

Kristan Schlikow <kristian@schlikow.de>

Signed
1 files changed, +0 -13Ignore whitespace
server.js+0 -13
@@ -942,19 +942,6 @@ function logSecurityAlert(message) {
942}942}
943943
944/**944/**
945 * Prints a warning message
946 * @param {string} message The warning message to print
947 * @returns {void}
948 */
949function logSecurityWarning(message) {
950 if (basicAuthMode || enableWhitelist) return; // safe!
951 console.error(color.yellow(message));
952 if (getConfigValue('securityOverride', false)) {
953 console.warn(color.red('Security has been overridden. If it\'s not a trusted network, change the settings.'));
954 }
955}
956
957/**
958 * Handles the case where the server failed to start on one or both protocols.945 * Handles the case where the server failed to start on one or both protocols.
959 * @param {boolean} v6Failed If the server failed to start on IPv6946 * @param {boolean} v6Failed If the server failed to start on IPv6
960 * @param {boolean} v4Failed If the server failed to start on IPv4947 * @param {boolean} v4Failed If the server failed to start on IPv4