Fix some == with ===

This commit is contained in:
rejas
2019-06-04 09:51:51 +02:00
parent 99b4c43fd5
commit 5d39d85215
5 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ var Server = function(config, callback) {
server.listen(port, config.address ? config.address : null);
if (config.ipWhitelist instanceof Array && config.ipWhitelist.length == 0) {
if (config.ipWhitelist instanceof Array && config.ipWhitelist.length === 0) {
console.info(Utils.colors.warn("You're using a full whitelist configuration to allow for all IPs"))
}