/// <summary>Handles a request of unbanning a channel member</summary> /// <param name="client">the client the incoming packet belongs to</param> /// <param name="packet">the full packet</param> public static void HandleUnbanRequest(IRealmClient client, RealmPacketIn packet) { string channelName = packet.ReadCString(); string targetName = packet.ReadCString(); ChannelMember member; ChatChannel chatChannel = ChatChannel.EnsurePresence(client.ActiveCharacter, channelName, out member); if (chatChannel == null) { return; } chatChannel.SetBanned(member, targetName, false); }