Need to check if forceRegstration is enabled

This commit is contained in:
Xephi 2015-05-04 15:59:18 +02:00
parent 176fda47ec
commit 2fe76a4f8a

View File

@ -117,6 +117,12 @@ public class AuthMeEntityListener implements Listener {
return;
}
if (!data.isAuthAvailable(name)) {
if (!Settings.isForcedRegistrationEnabled) {
return;
}
}
event.setCancelled(true);
}