From: Alexander Barton Date: Sat, 19 Mar 2011 16:29:19 +0000 (+0100) Subject: IRC_CHANINFO(): Code cleanup X-Git-Tag: rel-18-rc1~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a39e2f22c928a8bd8d16c2e008a62800f6412fe6;p=ngircd IRC_CHANINFO(): Code cleanup --- diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c index 33ea68d3..476c3138 100644 --- a/src/ngircd/irc-channel.c +++ b/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;