From 3b9cf59ba05e57fe16ff13b2782bc90e4a0685a5 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 8 Feb 2006 18:14:12 +0000 Subject: 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 --- include/xline.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') 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); -- cgit v1.2.3