From 098f4bdc41d230b20e243e7d3efc92b8b54c975d Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 25 Apr 2004 13:54:16 +0000 Subject: Added some stuff to diffrentiate between global and local Q/Z lines git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@724 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/xline.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/xline.h') diff --git a/include/xline.h b/include/xline.h index bdd9ac2d3..15de2113d 100644 --- a/include/xline.h +++ b/include/xline.h @@ -72,6 +72,7 @@ class ZLine : public XLine * May contain wildcards. */ char ipaddr[MAXBUF]; + bool is_global; }; /** QLine class @@ -83,6 +84,7 @@ class QLine : public XLine * May contain wildcards. */ char nick[MAXBUF]; + bool is_global; }; void read_xline_defaults(); @@ -114,5 +116,11 @@ void gline_set_creation_time(char* host, time_t create_time); void qline_set_creation_time(char* nick, time_t create_time); void zline_set_creation_time(char* ip, time_t create_time); +bool zline_make_global(char* ipaddr); +bool qline_make_global(char* nickname); + +void sync_xlines(serverrec* serv, char* tcp_host); + #endif + -- cgit v1.2.3