diff --git a/src/Server/AllServers.ts b/src/Server/AllServers.ts index b7de02714..59a485594 100644 --- a/src/Server/AllServers.ts +++ b/src/Server/AllServers.ts @@ -79,10 +79,10 @@ export function DeleteServer(serverkey: string): void { export function ipExists(ip: string): boolean { for (const hostName in AllServers) { if (AllServers[hostName].ip === ip) { - return true + return true; } } - return false + return false; } export function createUniqueRandomIp(): string {