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:
parent
dc46778c21
commit
c54ff5d095
@ -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 +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user