]> jfr.im git - solanum.git/blobdiff - modules/m_invite.c
Change default --with-nicklen to 31, like atheme-services.
[solanum.git] / modules / m_invite.c
index b8782d035e02067cda6b87252ac38eef3168629d..e31907476cb7760022d1b0892dd16a548a9ae164 100644 (file)
@@ -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. 
         */