Packet CheckLogin(Proxy.ClientSession sess, Packet p, IPEndPoint ip) { string IP = ip.ToString(); if (BannedIPs.Contains(IP)) sess.InjectPacket(new DisconnectPacket() {Message="You are banned from this server."}); return p; }