[srvx-commits] CVS: services/src chanserv.c,1.341,1.342
Brought to you by:
entrope
|
From: Zoot <zo...@us...> - 2003-02-21 07:41:18
|
Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv27055/src
Modified Files:
chanserv.c
Log Message:
Display the channel registrar to channel coowners and above in addition to network staff.
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.341
retrieving revision 1.342
diff -C2 -r1.341 -r1.342
*** chanserv.c 21 Feb 2003 07:28:53 -0000 1.341
--- chanserv.c 21 Feb 2003 07:41:14 -0000 1.342
***************
*** 4155,4158 ****
--- 4155,4159 ----
struct note *note;
dict_iterator_t it;
+ int privileged;
if(channel)
***************
*** 4225,4235 ****
chanserv_notice(user, CSMSG_CHANNEL_REGISTERED, buffer);
! if(IsOper(user) || IsHelper(user))
{
! if(cData->registrar)
! {
! chanserv_notice(user, CSMSG_CHANNEL_REGISTRAR, cData->registrar);
! }
if((dnr = chanserv_is_dnr(chan_name, NULL)))
{
--- 4226,4240 ----
chanserv_notice(user, CSMSG_CHANNEL_REGISTERED, buffer);
! privileged = IsOper(user) || IsHelper(user);
! if((uData && uData->access >= ulCoowner) || privileged)
{
! if(cData->registrar)
! {
! chanserv_notice(user, CSMSG_CHANNEL_REGISTRAR, cData->registrar);
! }
! }
+ if(privileged)
+ {
if((dnr = chanserv_is_dnr(chan_name, NULL)))
{
|