Rework check for number of parameters
[ngircd-alex.git] / src / ngircd / irc-metadata.c
index b52512ab92afe5d08a47ff16777f04f774bb3b0a..f7948e6a0d42cbabcdcd1f2a5e0db6731720884e 100644 (file)
@@ -51,10 +51,6 @@ IRC_METADATA(CLIENT *Client, REQUEST *Req)
        assert(Client != NULL);
        assert(Req != NULL);
 
-       if (Req->argc != 3)
-               return IRC_WriteErrClient(Client, ERR_NEEDMOREPARAMS_MSG,
-                                         Client_ID(Client), Req->command);
-
        prefix = Client_Search(Req->prefix);
        if (!prefix)
                return IRC_WriteErrClient(Client, ERR_NOSUCHNICK_MSG,