invite: Remove useless IsChannelName check.
This commit is contained in:
parent
0941f28e7d
commit
b5d9427a78
1 changed files with 0 additions and 8 deletions
|
@ -92,14 +92,6 @@ m_invite(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!IsChannelName(parv[2]))
|
|
||||||
{
|
|
||||||
if(MyClient(source_p))
|
|
||||||
sendto_one_numeric(source_p, ERR_NOSUCHCHANNEL,
|
|
||||||
form_str(ERR_NOSUCHCHANNEL), parv[2]);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Do not send local channel invites to users if they are not on the
|
/* Do not send local channel invites to users if they are not on the
|
||||||
* same server as the person sending the INVITE message.
|
* same server as the person sending the INVITE message.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue