[srvx-commits] CVS: services/src chanserv.c,1.232.2.2,1.232.2.3
Brought to you by:
entrope
|
From: Zoot <zo...@us...> - 2002-07-12 17:40:33
|
Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv18459/src
Modified Files:
Tag: rel-1_1-branch
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.232.2.2
retrieving revision 1.232.2.3
diff -C2 -r1.232.2.2 -r1.232.2.3
*** chanserv.c 2 Jul 2002 02:59:06 -0000 1.232.2.2
--- chanserv.c 12 Jul 2002 17:40:29 -0000 1.232.2.3
***************
*** 6322,6326 ****
}
! if(cData->flags & CHANNEL_DYNAMIC_LIMIT)
{
if((channel->limit - channel->members.used) < chanserv_conf.adjust_threshold)
--- 6322,6327 ----
}
! /* 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)
|