Lowercase forced server checks - #223

This commit is contained in:
md_5 2013-03-24 11:02:24 +11:00
parent 430b5ff392
commit e07f1e603a

View File

@ -53,7 +53,7 @@ public class YamlReconnectHandler implements ReconnectHandler
{
ListenerInfo listener = player.getPendingConnection().getListener();
String name;
String forced = listener.getForcedHosts().get( player.getPendingConnection().getVirtualHost().getHostName() );
String forced = listener.getForcedHosts().get( player.getPendingConnection().getVirtualHost().getHostName().toLowerCase() );
if ( forced == null && listener.isForceDefault() )
{
forced = listener.getDefaultServer();