X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/0cce7774d5d1f0c0abddedb0e7d35278d0f70cb7..b2c208be091670e3c5259eba77187bae6ac6eece:/modules/m_invite.c?ds=sidebyside diff --git a/modules/m_invite.c b/modules/m_invite.c index b8782d03..e3190747 100644 --- a/modules/m_invite.c +++ b/modules/m_invite.c @@ -92,14 +92,6 @@ m_invite(struct Client *client_p, struct Client *source_p, int parc, const char 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 * same server as the person sending the INVITE message. */