Re-ignore case for name, Security issues T.T
This commit is contained in:
@@ -28,7 +28,7 @@ public class BungeeCordMessage implements PluginMessageListener {
|
||||
String subchannel = in.readUTF();
|
||||
if (subchannel.equals("IP")) { // We need only the IP channel
|
||||
String ip = in.readUTF();
|
||||
plugin.realIp.put(player.getName(), ip);
|
||||
plugin.realIp.put(player.getName().toLowerCase(), ip);
|
||||
// Put the IP (only the ip not the port) in the hashmap
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
|
||||
Reference in New Issue
Block a user