Skip to content

Commit

Permalink
Solve merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGrobbe committed Aug 29, 2020
1 parent 6533f58 commit 400ebc6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vMenuServer/BanManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -292,16 +292,14 @@ public static void RemoveBan(BanRecord record)
/// </summary>
/// <param name="source"></param>
/// <param name="banRecordJsonString"></param>
private void RemoveBanRecord([FromSource] Player source, string banRecordJsonString)
private void RemoveBanRecord([FromSource] Player source, string uuid)
{
if (source != null && !string.IsNullOrEmpty(source.Name) && source.Name.ToLower() != "**invalid**" && source.Name.ToLower() != "** invalid **")
{
if (IsPlayerAceAllowed(source.Handle, "vMenu.OnlinePlayers.Unban") || IsPlayerAceAllowed(source.Handle, "vMenu.OnlinePlayers.All") || IsPlayerAceAllowed(source.Handle, "vMenu.Everything"))
{
Debug.WriteLine(uuid);
var banRecord = GetBanList().Find((ban) =>
{
Debug.WriteLine(ban.uuid.ToString());
return ban.uuid.ToString() == uuid;
});
if (banRecord != null)
Expand Down

0 comments on commit 400ebc6

Please sign in to comment.