diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-25 13:54:16 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-25 13:54:16 +0000 |
commit | 098f4bdc41d230b20e243e7d3efc92b8b54c975d (patch) | |
tree | e3e7d4684db79798eb7e850ad78d84b481d5b79c /include | |
parent | 4085f5dedc915399760ed14a6a9b404509aecf44 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/xline.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 + |