2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-12-23 02:28:01 +00:00

remove else when checking if password is null

This commit is contained in:
mohammed jasem alaajel 2022-07-26 15:14:14 +04:00
parent 81a8fd218e
commit 5a7001a68c

View File

@ -52,7 +52,8 @@ public interface ConfigLoader {
if (redisPassword != null && (redisPassword.isEmpty() || redisPassword.equals("none"))) {
redisPassword = null;
plugin.logWarn("INSECURE setup was detected Please set password for your redis instance.");
} else if (redisPassword == null) {
}
if (redisPassword == null) {
plugin.logWarn("INSECURE setup was detected Please set password for your redis instance.");
}
if (!useSSL) {