[srvx-commits] CVS: services/src helpserv.c,1.55,1.56
Brought to you by:
entrope
|
From: Adrian D. <sai...@us...> - 2002-12-15 06:41:41
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv1887
Modified Files:
helpserv.c
Log Message:
Create requests when bursting if reqonjoin is enabled
Index: helpserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/helpserv.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -r1.55 -r1.56
*** helpserv.c 14 Dec 2002 02:04:17 -0000 1.55
--- helpserv.c 15 Dec 2002 06:41:38 -0000 1.56
***************
*** 3540,3549 ****
const int from_opserv = 0; /* for helpserv_notice */
! if (IsLocal(user) || self->uplink->burst) return 0;
!
if (!(botlist = dict_find(helpserv_bots_bychan_dict, chan->name, NULL))) return 0;
for (i=0; i < botlist->used; i++) {
struct helpserv_bot *hs=botlist->list[i];
associate_requests_bybot(hs, user, 1);
--- 3540,3551 ----
const int from_opserv = 0; /* for helpserv_notice */
! if (IsLocal(user)) return 0;
!
if (!(botlist = dict_find(helpserv_bots_bychan_dict, chan->name, NULL))) return 0;
for (i=0; i < botlist->used; i++) {
struct helpserv_bot *hs=botlist->list[i];
+
+ if (self->uplink->burst && !hs->req_on_join) continue;
associate_requests_bybot(hs, user, 1);
|