about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2012-02-26 15:27:04 +0100
committerAlexander Barton <alex@barton.de>2012-02-26 15:27:04 +0100
commit5cbdcf4f0d44709798469f09a72d4b4bd56d6e93 (patch)
treeed18eb3ffbf4c57f2c59782da246dcada462d7c1 /src
parent3641e511095203818df7ca05439cf42eb7c7c954 (diff)
downloadngircd-5cbdcf4f0d44709798469f09a72d4b4bd56d6e93.tar.gz
ngircd-5cbdcf4f0d44709798469f09a72d4b4bd56d6e93.zip
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'
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/irc-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngircd/irc-channel.c b/src/ngircd/irc-channel.c
index 5ea108ad..d714b48f 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 */