Update of /cvsroot/solidircd/solidircd-stable/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9094/src
Modified Files:
s_serv.c
Log Message:
need to look into the freeze code.
Index: s_serv.c
===================================================================
RCS file: /cvsroot/solidircd/solidircd-stable/src/s_serv.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** s_serv.c 18 Mar 2006 05:37:00 -0000 1.17
--- s_serv.c 18 Apr 2006 13:01:21 -0000 1.18
***************
*** 4129,4132 ****
--- 4129,4134 ----
*/
+ #ifdef ENABLE_FREEZE
+
int m_freeze(aClient *cptr, aClient *sptr, int parc, char *parv[])
{
***************
*** 4152,4156 ****
}
! if (IsServer(cptr)) {
sendto_serv_butone(cptr, ":%s FREEZE :%s", parv[0], parv[1]);
target->user->special_mode = 3;
--- 4154,4159 ----
}
!
! if (IsServer(cptr)) {
sendto_serv_butone(cptr, ":%s FREEZE :%s", parv[0], parv[1]);
target->user->special_mode = 3;
***************
*** 4165,4177 ****
if (IsServer (target))
! {
! /* I guess we'll allow net admins to freeze servers */
! if (!IsAdmin (sptr))
! {
! sendto_one (sptr, err_str (ERR_NOSUCHNICK),
! me.name, sptr->name, parv[1]);
! return 0;
! }
! }
if (IsOper (target))
--- 4168,4176 ----
if (IsServer (target))
! {
! sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]);
! return 0;
! }
!
if (IsOper (target))
***************
*** 4274,4277 ****
--- 4273,4279 ----
+ #endif
+
+
u_long
memcount_s_serv(MCs_serv *mc)
|