private static void LeafIUserBin(Leaf leaf, TCPPacketReader packet) { if (leaf.LoginPhase != LinkLogin.Ready) { leaf.SendPacket(HubOutbound.LinkError(LinkError.BadProtocol)); leaf.Disconnect(); return; } uint target_leaf = packet; Leaf l = LeafPool.Leaves.Find(x => x.Ident == target_leaf && x.LoginPhase == LinkLogin.Ready); if (l != null) { String name = packet.ReadString(leaf); String command = packet.ReadString(leaf); byte[] args = packet; l.SendPacket(HubOutbound.HubIUserBin(l, name, command, args)); } }