about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2011-03-19 17:29:19 +0100
committerAlexander Barton <alex@barton.de>2011-03-19 17:29:19 +0100
commita39e2f22c928a8bd8d16c2e008a62800f6412fe6 (patch)
tree90c14c54bbeaf2a6223391a29a7a9f3752f0dfa3
parentdcb1951efdc21fc175817bca67aed01bee9749b4 (diff)
downloadngircd-a39e2f22c928a8bd8d16c2e008a62800f6412fe6.tar.gz
ngircd-a39e2f22c928a8bd8d16c2e008a62800f6412fe6.zip
IRC_CHANINFO(): Code cleanup
-rw-r--r--src/ngircd/irc-channel.c4
1 files changed, 3 insertions, 1 deletions
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;