repo: ngircd action: commit revision: path_from: revision_from: a39e2f22c928a8bd8d16c2e008a62800f6412fe6: path_to: revision_to:
commit a39e2f22c928a8bd8d16c2e008a62800f6412fe6 Author: Alexander BartonDate: Sat Mar 19 17:29:19 2011 +0100 IRC_CHANINFO(): Code cleanup diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c
--- 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;
-----END OF PAGE-----