diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-08 18:14:12 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-08 18:14:12 +0000 |
commit | 3b9cf59ba05e57fe16ff13b2782bc90e4a0685a5 (patch) | |
tree | 07351cd9350aa8a8e847f4c18fe868c4f6a89e14 /include/xline.h | |
parent | 1674c21da1f2539806250982dc91ac7ad8a24984 (diff) |
Checks to not propogate invalid or already-existing Xlines
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3143 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/xline.h')
-rw-r--r-- | include/xline.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/xline.h b/include/xline.h index 65095b1c5..7fd02e6ac 100644 --- a/include/xline.h +++ b/include/xline.h @@ -125,11 +125,11 @@ class QLine : public XLine void read_xline_defaults(); -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 add_gline(long duration, const char* source, const char* reason, const char* hostmask); +bool add_qline(long duration, const char* source, const char* reason, const char* nickname); +bool add_zline(long duration, const char* source, const char* reason, const char* ipaddr); +bool add_kline(long duration, const char* source, const char* reason, const char* hostmask); +bool 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); |