Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
doozzik committed Aug 21, 2015
1 parent 46ad985 commit db8670d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions MOTD.cs
Expand Up @@ -74,13 +74,16 @@ private string PlayerPermission(UnturnedPlayer player)
{
if (Configuration.Instance.ShowWarnings)
{
Logger.LogWarning("[MOTD plugin] Cant find permission for player " + player.DisplayName + "Nothing will be shown to him");
Logger.LogWarning("[MOTD plugin] Cant find permission for player " + player.DisplayName + ". Nothing will be shown to him");
}
return "none";
}

Logger.LogWarning("[MOTD plugin] Player " + player.DisplayName + " has more than one permissions. Nothing will be shown to him");
return "none";
if (Configuration.Instance.ShowWarnings)
{
Logger.LogWarning("[MOTD plugin] Player " + player.DisplayName + " has more than one permission. We will show messages only from latest group to him");
}
return permission;
}
}
}

0 comments on commit db8670d

Please sign in to comment.