invite: revert the ERR_CHANOPRIVSNEEDED change too
This commit is contained in:
parent
e3c27d7dbd
commit
27590ae0b4
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ m_invite(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source
|
|||
{
|
||||
if (hdata.error)
|
||||
sendto_one_numeric(source_p, hdata.approved, "%s", hdata.error);
|
||||
else if (hdata.approved == ERR_CHANOPRIVSNEEDED)
|
||||
else
|
||||
sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),
|
||||
me.name, source_p->name, parv[2]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue