1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-07 21:58:06 -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; var canExecute = true;
if (E.Origin.CommandExecutionAttempts > 0) if (E.Origin.CommandExecutionAttempts > 0 && E.Origin.Level < Permission.Trusted)
{ {
var remainingTimeout = var remainingTimeout =
E.Origin.LastCommandExecutionAttempt + E.Origin.LastCommandExecutionAttempt +