From: Florian Westphal Date: Mon, 11 Jun 2007 20:06:46 +0000 (+0000) Subject: fix compile /w gcc 2.95 (reported by Tassilo Schweyer) X-Git-Tag: rel-0-11-0-pre2~46 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git;a=commitdiff_plain;h=5675be4cd95a32885d5c197559725ff7ddf11e27 fix compile /w gcc 2.95 (reported by Tassilo Schweyer) --- 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 @@ -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 */