Clean up TFM_CustomListener.

This commit is contained in:
StevenLawson 2013-09-27 11:04:46 -04:00
parent 2d655e4009
commit ed0aef033c

View File

@ -1,6 +1,5 @@
package me.StevenLawson.TotalFreedomMod.Listener;
import me.StevenLawson.TotalFreedomMod.TFM_Log;
import me.StevenLawson.TotalFreedomMod.TFM_Superadmin;
import me.StevenLawson.TotalFreedomMod.TFM_SuperadminList;
import org.bukkit.event.EventHandler;
@ -13,11 +12,6 @@ public class TFM_CustomListener implements Listener
public void onTelnetPreLogin(me.StevenLawson.BukkitTelnet.TelnetPreLoginEvent event)
{
String ip = event.getIp();
String name = event.getName();
boolean canBypassPassword = event.canBypassPassword();
TFM_Log.info("Caught TelnetPreLoginEvent: name: " + name + " - ip: " + ip + " - canBypassPassword: " + canBypassPassword);
if (ip != null && !ip.isEmpty())
{
TFM_Superadmin admin = TFM_SuperadminList.getAdminEntryByIP(ip, true);