Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv27161/src
Modified Files:
Tag: rel-1_0
chanserv.c
Log Message:
typo fix for !upall and out-of-channel fix for cmd_all
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.161.2.75
retrieving revision 1.161.2.76
diff -C2 -r1.161.2.75 -r1.161.2.76
*** chanserv.c 2001/08/15 02:47:14 1.161.2.75
--- chanserv.c 2001/08/15 03:05:47 1.161.2.76
***************
*** 2097,2101 ****
for(cList = user->handle_info->channels; cList; cList = cList->next)
{
! if(IsSuspended(cList->channel))
{
continue;
--- 2097,2101 ----
for(cList = user->handle_info->channels; cList; cList = cList->next)
{
! if(!cList->channel->channel || IsSuspended(cList->channel) || !GetUserMode(cList->channnel->channel, user))
{
continue;
***************
*** 2110,2114 ****
static CHANSERV_FUNC(cmd_upall)
{
! return cmd_all(CSFUNC_ARGS, cmd_down);
}
--- 2110,2114 ----
static CHANSERV_FUNC(cmd_upall)
{
! return cmd_all(CSFUNC_ARGS, cmd_up);
}
|