]> arthur.ath.cx Git - ngircd.git/commitdiff
Fixed a compile problem with elder gcc (detected with 2.95.2). [from HEAD]
authorAlexander Barton <alex@barton.de>
Tue, 31 Jul 2007 20:48:15 +0000 (20:48 +0000)
committerAlexander Barton <alex@barton.de>
Tue, 31 Jul 2007 20:48:15 +0000 (20:48 +0000)
src/ngircd/channel.c

index 94993d4c12578bf957ba0a6dabd1638cef048817..b5428fea5783c6981388009def98c612171fedc2 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: channel.c,v 1.56.2.3 2007/04/03 22:08:52 fw Exp $";
+static char UNUSED id[] = "$Id: channel.c,v 1.56.2.4 2007/07/31 20:48:15 alex 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 */