mirror of
https://github.com/CFC-Servers/cfc_ulx_commands.git
synced 2025-03-04 03:13:28 -05:00
Fix stacking warning reasons... (#129)
This commit is contained in:
parent
944e78e04f
commit
bc1ffe827b
@ -128,9 +128,9 @@ function AW.CommandWatcher( caller, commandName, args )
|
||||
duration = duration and duration * 60
|
||||
end
|
||||
|
||||
local warnReason = AW.buildReason( reason, commandName, duration )
|
||||
for _, target in ipairs( targets ) do
|
||||
reason = AW.buildReason( reason, commandName, duration )
|
||||
AW.warn( caller, target, reason )
|
||||
AW.warn( caller, target, warnReason )
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user