diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-13 12:41:46 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-13 12:41:46 +0000 |
commit | c0f731e19d61a971af5cf26d073ccd25bfc5c91c (patch) | |
tree | cb070a261330b5110d30ecbcf4e446e1419886e2 /include/xline.h | |
parent | 58f076212f6330429e027576eb32cfc75bde82ae (diff) |
Added Server::AddGLine
Added Server::AddKLine
Added Server::AddZLine
Added Server::AddQLine
Added Server::AddELine
Added Server::DelGLine
Added Server::DelKLine
Added Server::DelZLine
Added Server::DelQLine
Added Server::DelELine
Added Server::Duration
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1071 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/xline.h')
-rw-r--r-- | include/xline.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/include/xline.h b/include/xline.h index b5163ee58..5381d525a 100644 --- a/include/xline.h +++ b/include/xline.h @@ -120,17 +120,17 @@ class QLine : public XLine void read_xline_defaults(); -void add_gline(long duration, char* source, char* reason, char* hostmask); -void add_qline(long duration, char* source, char* reason, char* nickname); -void add_zline(long duration, char* source, char* reason, char* ipaddr); -void add_kline(long duration, char* source, char* reason, char* hostmask); -void add_eline(long duration, char* source, char* reason, char* hostmask); - -bool del_gline(char* hostmask); -bool del_qline(char* nickname); -bool del_zline(char* ipaddr); -bool del_kline(char* hostmask); -bool del_eline(char* hostmask); +void add_gline(long duration, const char* source, const char* reason, const char* hostmask); +void add_qline(long duration, const char* source, const char* reason, const char* nickname); +void add_zline(long duration, const char* source, const char* reason, const char* ipaddr); +void add_kline(long duration, const char* source, const char* reason, const char* hostmask); +void add_eline(long duration, const char* source, const char* reason, const char* hostmask); + +bool del_gline(const char* hostmask); +bool del_qline(const char* nickname); +bool del_zline(const char* ipaddr); +bool del_kline(const char* hostmask); +bool del_eline(const char* hostmask); char* matches_qline(const char* nick); char* matches_gline(const char* host); @@ -151,8 +151,8 @@ 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); +bool zline_make_global(const char* ipaddr); +bool qline_make_global(const char* nickname); void sync_xlines(serverrec* serv, char* tcp_host); |