[srvx-commits] CVS: services/src chanserv.c,1.329,1.330
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2003-01-08 23:49:04
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv6276/src
Modified Files:
chanserv.c
Log Message:
do not invite users while we are still bursting (we get a 443 You are
not on channel from the burst NICKs)
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.329
retrieving revision 1.330
diff -C2 -r1.329 -r1.330
*** chanserv.c 4 Jan 2003 05:16:40 -0000 1.329
--- chanserv.c 8 Jan 2003 23:48:59 -0000 1.330
***************
*** 6230,6239 ****
if(!GetUserMode(cn, user))
{
! if(IsUserAutoInvite(channel->user))
{
! if(cn->modes & (MODE_KEY | MODE_INVITEONLY))
! {
! irc_invite(chanserv, user, cn);
! }
}
continue;
--- 6230,6238 ----
if(!GetUserMode(cn, user))
{
! if(IsUserAutoInvite(channel->user)
! && (cn->modes & (MODE_KEY | MODE_INVITEONLY))
! && !self->burst)
{
! irc_invite(chanserv, user, cn);
}
continue;
|