Update of /cvsroot/genericircd/gircd2.0/include
In directory sc8-pr-cvs1:/tmp/cvs-serv30501/include
Modified Files:
gline.h ircd_features.h numeric.h
Log Message:
Added WHOIS SERVICES and hopefully fixed the G-Line bug.
Index: gline.h
===================================================================
RCS file: /cvsroot/genericircd/gircd2.0/include/gline.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** gline.h 12 Jul 2003 20:08:13 -0000 1.1.1.1
--- gline.h 26 Oct 2003 16:56:26 -0000 1.2
***************
*** 33,42 ****
struct StatDesc;
! #define GLINE_MAX_EXPIRE 31536000 /* max expire: 1 year */
struct Gline {
struct Gline *gl_next;
struct Gline**gl_prev_p;
- char *gl_nick;
char *gl_user;
char *gl_host;
--- 33,41 ----
struct StatDesc;
! #define GLINE_MAX_EXPIRE 604800 /* max expire: 7 days */
struct Gline {
struct Gline *gl_next;
struct Gline**gl_prev_p;
char *gl_user;
char *gl_host;
***************
*** 71,75 ****
#define GlineIsLocal(g) ((g)->gl_flags & GLINE_LOCAL)
- #define GlineNick(g) ((g)->gl_nick)
#define GlineUser(g) ((g)->gl_user)
#define GlineHost(g) ((g)->gl_host)
--- 70,73 ----
***************
*** 97,101 ****
char *param);
extern int gline_memory_count(size_t *gl_size);
- extern struct Gline *IsNickGlined(struct Client *cptr, char *nick);
#endif /* INCLUDED_gline_h */
--- 95,98 ----
Index: ircd_features.h
===================================================================
RCS file: /cvsroot/genericircd/gircd2.0/include/ircd_features.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ircd_features.h 25 Oct 2003 20:30:24 -0000 1.2
--- ircd_features.h 26 Oct 2003 16:56:26 -0000 1.3
***************
*** 98,101 ****
--- 98,102 ----
FEAT_SETHOST_USER,
FEAT_SETHOST_AUTO,
+ FEAT_WHOIS_SERVICES,
/* features that affect global opers on this server */
Index: numeric.h
===================================================================
RCS file: /cvsroot/genericircd/gircd2.0/include/numeric.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** numeric.h 11 Oct 2003 13:59:19 -0000 1.2
--- numeric.h 26 Oct 2003 16:56:26 -0000 1.3
***************
*** 218,222 ****
/* RPL_WHOISSVCMSG 310 Dalnet */
/* RPL_WHOISHELPOP 310 unreal */
! /* RPL_WHOISSERVICE 310 austnet */
#define RPL_WHOISUSER 311 /* See also RPL_ENDOFWHOIS */
#define RPL_WHOISSERVER 312
--- 218,222 ----
/* RPL_WHOISSVCMSG 310 Dalnet */
/* RPL_WHOISHELPOP 310 unreal */
! #define RPL_WHOISSERVICE 310 /* austnet / Undernet extension */
#define RPL_WHOISUSER 311 /* See also RPL_ENDOFWHOIS */
#define RPL_WHOISSERVER 312
|