diff --git a/src/RustCommands.cs b/src/RustCommands.cs index df0d25ce8..71f1bae8b 100644 --- a/src/RustCommands.cs +++ b/src/RustCommands.cs @@ -85,7 +85,7 @@ private void GrantCommand(IPlayer player, string command, string[] args) permission.UpdateNickname(userId, name); } - if (permission.UserHasPermission(name, perm)) + if (permission.UserHasPermission(userId, perm)) { player.Reply(string.Format(lang.GetMessage("PlayerAlreadyHasPermission", this, player.Id), userId, perm)); return;