Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv18745/src
Modified Files:
chanserv.c
Log Message:
When a channel has been join flooded, do the obvious and don't muck
with the channel limit.
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.247
retrieving revision 1.248
diff -C2 -r1.247 -r1.248
*** chanserv.c 8 Jul 2002 15:45:31 -0000 1.247
--- chanserv.c 12 Jul 2002 17:40:44 -0000 1.248
***************
*** 6389,6393 ****
}
! if(cData->flags & CHANNEL_DYNAMIC_LIMIT)
{
if((channel->limit - channel->members.used) < chanserv_conf.adjust_threshold)
--- 6389,6394 ----
}
! /* ChanServ will not modify the limits in join-flooded channels. */
! if(cData->flags & CHANNEL_DYNAMIC_LIMIT && !channel->join_flooded)
{
if((channel->limit - channel->members.used) < chanserv_conf.adjust_threshold)
|