mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-07 13:48:00 -05:00
disable command throttling for privileged users
This commit is contained in:
parent
dc46778c21
commit
c54ff5d095
@ -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 +
|
||||
|
Loading…
x
Reference in New Issue
Block a user