mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-09 06:23:12 +02:00
Bump fakelag on failed authentication attempt (SASL, real or emulated)
This commit is contained in:
@@ -198,6 +198,7 @@ CMD_FUNC(m_sasl)
|
||||
*target_p->local->sasl_agent = '\0';
|
||||
if (*parv[4] == 'F')
|
||||
{
|
||||
target_p->local->since += 7; /* bump fakelag due to failed authentication attempt */
|
||||
RunHookReturnInt2(HOOKTYPE_SASL_RESULT, target_p, 0, !=0);
|
||||
sendto_one(target_p, err_str(ERR_SASLFAIL), me.name, BadPtr(target_p->name) ? "*" : target_p->name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user