fix compile /w gcc 2.95 (reported by Tassilo Schweyer)

This commit is contained in:
Florian Westphal 2007-06-11 20:06:46 +00:00
parent f1486e6a53
commit 5675be4cd9
1 changed files with 2 additions and 2 deletions

View File

@ -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 */