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:
parent
81a8fd218e
commit
5a7001a68c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user