repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 5cbdcf4f0d44709798469f09a72d4b4bd56d6e93:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 5cbdcf4f0d44709798469f09a72d4b4bd56d6e93
Author: Alexander Barton 
Date:   Sun Feb 26 15:27:04 2012 +0100

    Fix C syntax: duplicate ";;" should be ";"

    Using gcc 2.7.2, this fixes:

     irc-channel.c: In function `join_allowed':
     irc-channel.c:86: parse error before `const'

diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c
index 5ea108ad8712d142814d5cac603e13f1d1186149..
index ..d714b48fcb8e3d28aed8cb2101bc6e452295290b 100644
--- a/src/ngircd/irc-channel.c
+++ b/src/ngircd/irc-channel.c
@@ -82,7 +82,7 @@ static bool
 join_allowed(CLIENT *Client, CHANNEL *chan, const char *channame,
 	     const char *key)
 {
-	bool is_invited, is_banned, is_exception;;
+	bool is_invited, is_banned, is_exception;
 	const char *channel_modes;

 	/* Allow IRC operators to overwrite channel limits */

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