]> arthur.barton.de Git - ngircd.git/commitdiff
fix compile /w gcc 2.95 (reported by Tassilo Schweyer)
authorFlorian Westphal <fw@strlen.de>
Mon, 11 Jun 2007 20:06:46 +0000 (20:06 +0000)
committerFlorian Westphal <fw@strlen.de>
Mon, 11 Jun 2007 20:06:46 +0000 (20:06 +0000)
src/ngircd/channel.c

index 12b287c81eccef85857a2dcee35b28d1f848b30d..3341cb49a70a27c35ab65bc1ef68a3f8a1e813ed 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "portab.h"
 
 
 #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>
 
 #include "imp.h"
 #include <assert.h>
@@ -602,7 +602,7 @@ Channel_IsMemberOf( CHANNEL *Chan, CLIENT *Client )
 
        assert( Chan != NULL );
        assert( Client != NULL );
 
        assert( Chan != NULL );
        assert( Client != NULL );
-       return Get_Cl2Chan(Chan, Client);
+       return Get_Cl2Chan(Chan, Client) != NULL;
 } /* Channel_IsMemberOf */
 
 
 } /* Channel_IsMemberOf */