modules/m_oper: Prevent password guessing
Change the message for an invalid OPER password to "No appropriate operator blocks were found for your host".
This commit is contained in:
parent
74289701af
commit
06bfe138d2
|
@ -144,8 +144,7 @@ m_oper(struct Client *client_p, struct Client *source_p, int parc, const char *p
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sendto_one(source_p, form_str(ERR_PASSWDMISMATCH),
|
sendto_one_numeric(source_p, ERR_NOOPERHOST, form_str(ERR_NOOPERHOST));
|
||||||
me.name, source_p->name);
|
|
||||||
|
|
||||||
ilog(L_FOPER, "FAILED OPER (%s) by (%s!%s@%s) (%s)",
|
ilog(L_FOPER, "FAILED OPER (%s) by (%s!%s@%s) (%s)",
|
||||||
name, source_p->name, source_p->username, source_p->host,
|
name, source_p->name, source_p->username, source_p->host,
|
||||||
|
|
Loading…
Reference in New Issue