repo: ngircd
action: commit
revision: 
path_from: 
revision_from: a39e2f22c928a8bd8d16c2e008a62800f6412fe6:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit a39e2f22c928a8bd8d16c2e008a62800f6412fe6
Author: Alexander Barton 
Date:   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
index 33ea68d309ffc84cfbedb91518f817c61e171bb3..
index ..476c313835f337b01bb0688c9a9a1e8d97135a83 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;

-----END OF PAGE-----