]> arthur.barton.de Git - ngircd.git/commitdiff
Fix C syntax: duplicate ";;" should be ";"
authorAlexander Barton <alex@barton.de>
Sun, 26 Feb 2012 14:27:04 +0000 (15:27 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 26 Feb 2012 14:27:04 +0000 (15:27 +0100)
Using gcc 2.7.2, this fixes:

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

src/ngircd/irc-channel.c

index 5ea108ad8712d142814d5cac603e13f1d1186149..d714b48fcb8e3d28aed8cb2101bc6e452295290b 100644 (file)
@@ -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 */