commit a39e2f22c928a8bd8d16c2e008a62800f6412fe6 from: Alexander Barton date: Sat Mar 19 16:29:19 2011 UTC IRC_CHANINFO(): Code cleanup commit - dcb1951efdc21fc175817bca67aed01bee9749b4 commit + a39e2f22c928a8bd8d16c2e008a62800f6412fe6 blob - 33ea68d309ffc84cfbedb91518f817c61e171bb3 blob + 476c313835f337b01bb0688c9a9a1e8d97135a83 --- src/ngircd/irc-channel.c +++ src/ngircd/irc-channel.c @@ -688,7 +688,9 @@ IRC_CHANINFO( CLIENT *Client, REQUEST *Req ) assert( Req != NULL ); /* Bad number of parameters? */ - if(( Req->argc < 2 ) || ( Req->argc == 4 ) || ( Req->argc > 5 )) return IRC_WriteStrClient( Client, ERR_NEEDMOREPARAMS_MSG, Client_ID( Client ), Req->command ); + if (Req->argc < 2 || Req->argc == 4 || Req->argc > 5) + return IRC_WriteStrClient(Client, ERR_NEEDMOREPARAMS_MSG, + Client_ID(Client), Req->command); /* Compatibility kludge */ if( Req->argc == 5 ) arg_topic = 4;