Update of /cvsroot/solidircd/solidircd-stable/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15968/include
Modified Files:
config.h msg.h struct.h
Log Message:
fixed shun, readded freeze from solid2.2.20.
Index: msg.h
===================================================================
RCS file: /cvsroot/solidircd/solidircd-stable/include/msg.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** msg.h 4 Sep 2005 05:24:13 -0000 1.2
--- msg.h 18 Mar 2006 00:36:03 -0000 1.3
***************
*** 154,157 ****
--- 154,159 ----
#define MSG_IRCOPS "IRCOPS" /* Show who is available for help */
#endif
+ #define MSG_FREEZE "FREEZE" /* Temp Freeze the User */
+ #define MSG_UNFREEZE "UNFREEZE" /* UnFreeze the User */
#define MAXPARA 15
***************
*** 273,276 ****
--- 275,281 ----
extern int m_ircops(aClient *, aClient *, int, char **);
#endif
+ extern int m_freeze(aClient *, aClient *, int, char **);
+ extern int m_unfreeze(aClient *, aClient *, int, char **);
+
***************
*** 430,433 ****
--- 435,440 ----
{MSG_IRCOPS, m_ircops, MAXPARA, 0, 0},
#endif
+ {MSG_FREEZE, m_freeze, MAXPARA, 0, 0},
+ {MSG_UNFREEZE, m_unfreeze, MAXPARA, 0, 0},
{ 0 }
};
Index: config.h
===================================================================
RCS file: /cvsroot/solidircd/solidircd-stable/include/config.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** config.h 17 Mar 2006 21:41:58 -0000 1.22
--- config.h 18 Mar 2006 00:36:03 -0000 1.23
***************
*** 202,206 ****
#define HIDEULINEDSERVS 1
! #define THROTTLE_ENABLE
/*
--- 202,206 ----
#define HIDEULINEDSERVS 1
!
/*
***************
*** 219,222 ****
--- 219,229 ----
#define RESTRICT_C_LINES_ADMINONLY
+ /*
+ * ERROR_FREEZE_NOTICE
+ * When a user is freezed if this is defined the user will get a error message of text not send
+ * when ever they attempt to talk.
+ */
+
+ #undef ERROR_FREEZE_NOTICE
/*
***************
*** 953,956 ****
--- 960,964 ----
* tuneable at runtime. -wd */
/* part of options.h now #define THROTTLE_ENABLE */
+ #define THROTTLE_ENABLE
#define THROTTLE_TRIGCOUNT 3
#define THROTTLE_TRIGTIME 15
Index: struct.h
===================================================================
RCS file: /cvsroot/solidircd/solidircd-stable/include/struct.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** struct.h 12 Mar 2006 16:05:54 -0000 1.9
--- struct.h 18 Mar 2006 00:36:03 -0000 1.10
***************
*** 919,922 ****
--- 919,923 ----
char *server; /* pointer to scached server name */
int special; /* elmer/silly routines */
+ char special_mode;
unsigned int servicetype; /* set by SVSMODE +T */
unsigned int servicestamp; /* set by SVSMODE +d */
|