mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-13 05:31:36 +01:00
Fix a remaining instance where client->local->fake_lag was touched
directly, should use add_fake_lag(client, msec) instead.
This commit is contained in:
parent
be6928df78
commit
3a752a60fa
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ CMD_FUNC(cmd_sasl)
|
|||
if (*parv[4] == 'F')
|
||||
{
|
||||
target->local->sasl_sent_time = 0;
|
||||
target->local->fake_lag += 7; /* bump fakelag due to failed authentication attempt */
|
||||
add_fake_lag(target, 7000); /* bump fakelag due to failed authentication attempt */
|
||||
RunHookReturn2(HOOKTYPE_SASL_RESULT, target, 0, !=0);
|
||||
sendnumeric(target, ERR_SASLFAIL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue