repo: ngircd action: commit revision: path_from: revision_from: 5cbdcf4f0d44709798469f09a72d4b4bd56d6e93: path_to: revision_to:
commit 5cbdcf4f0d44709798469f09a72d4b4bd56d6e93 Author: Alexander BartonDate: 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
--- 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-----