1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

disable command throttling for privileged users

This commit is contained in:
RaidMax
2024-06-26 18:17:23 -05:00
parent dc46778c21
commit c54ff5d095

View File

@ -198,7 +198,7 @@ namespace IW4MAdmin
{
var canExecute = true;
if (E.Origin.CommandExecutionAttempts > 0)
if (E.Origin.CommandExecutionAttempts > 0 && E.Origin.Level < Permission.Trusted)
{
var remainingTimeout =
E.Origin.LastCommandExecutionAttempt +