]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-server.c
Rework check for number of parameters
[ngircd-alex.git] / src / ngircd / irc-server.c
index 107c44a8122d5153d32d696435a0d370890bcabc..80bb6a6141169fe0b03b18063496a2b9d0494800 100644 (file)
@@ -254,8 +254,6 @@ IRC_NJOIN( CLIENT *Client, REQUEST *Req )
        assert( Client != NULL );
        assert( Req != NULL );
 
-       _IRC_ARGC_EQ_OR_RETURN_(Client, Req, 2)
-
        strlcpy( nick_in, Req->argv[1], sizeof( nick_in ));
        strcpy( nick_out, "" );
 
@@ -341,8 +339,6 @@ IRC_SQUIT(CLIENT * Client, REQUEST * Req)
        assert(Client != NULL);
        assert(Req != NULL);
 
-       _IRC_ARGC_EQ_OR_RETURN_(Client, Req, 2)
-
        if (Client_Type(Client) != CLIENT_SERVER
            && !Client_HasMode(Client, 'o'))
                return Op_NoPrivileges(Client, Req);