[srvx-commits] CVS: services/src chanserv.c,1.348,1.349
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2003-05-24 18:50:44
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv28350/src
Modified Files:
chanserv.c
Log Message:
Fix possible NULL dereference
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.348
retrieving revision 1.349
diff -C2 -r1.348 -r1.349
*** chanserv.c 24 May 2003 14:48:16 -0000 1.348
--- chanserv.c 24 May 2003 18:50:41 -0000 1.349
***************
*** 4324,4328 ****
if(IsSuspended(cData)) chanserv_notice(user, CSMSG_CHANNEL_SUSPENDED, chan_name);
! if((cData->suspended) && ((uData->access >= ulCoowner) || IsPrivileged(user)))
{
struct suspended *suspended;
--- 4324,4328 ----
if(IsSuspended(cData)) chanserv_notice(user, CSMSG_CHANNEL_SUSPENDED, chan_name);
! if((cData->suspended) && (((uData && (uData->access >= ulCoowner)) || IsPrivileged(user))))
{
struct suspended *suspended;
|