about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2007-06-11 20:06:46 +0000
committerFlorian Westphal <fw@strlen.de>2007-06-11 20:06:46 +0000
commit5675be4cd95a32885d5c197559725ff7ddf11e27 (patch)
tree79920df1a7796552d888cce5598445c5928d4e8d /src
parentf1486e6a53618de081b13a313e0c984c88c01cea (diff)
downloadngircd-5675be4cd95a32885d5c197559725ff7ddf11e27.tar.gz
ngircd-5675be4cd95a32885d5c197559725ff7ddf11e27.zip
fix compile /w gcc 2.95 (reported by Tassilo Schweyer)
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/channel.c b/src/ngircd/channel.c
index 12b287c8..3341cb49 100644
--- a/src/ngircd/channel.c
+++ b/src/ngircd/channel.c
@@ -17,7 +17,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: channel.c,v 1.62 2006/12/29 14:09:50 fw Exp $";
+static char UNUSED id[] = "$Id: channel.c,v 1.63 2007/06/11 20:06:46 fw Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -602,7 +602,7 @@ Channel_IsMemberOf( CHANNEL *Chan, CLIENT *Client )
 
 	assert( Chan != NULL );
 	assert( Client != NULL );
-	return Get_Cl2Chan(Chan, Client);
+	return Get_Cl2Chan(Chan, Client) != NULL;
 } /* Channel_IsMemberOf */