forked from External/ergo
default fakelag to off, add explicit cooldown config
This commit is contained in:
parent
1bf5e2a7c8
commit
36018174b0
5 changed files with 16 additions and 11 deletions
|
|
@ -158,7 +158,7 @@ func (client *Client) resetFakelag() {
|
|||
return nil
|
||||
}
|
||||
|
||||
return NewFakelag(flc.Window, flc.BurstLimit, flc.MessagesPerWindow)
|
||||
return NewFakelag(flc.Window, flc.BurstLimit, flc.MessagesPerWindow, flc.Cooldown)
|
||||
}()
|
||||
|
||||
client.stateMutex.Lock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue