From 52aec3dd2a8a30719b678ea04741c6a36ba82990 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 10 Sep 2006 17:18:58 +0000 Subject: Match IP's with klines, glines and exceptions, as well as hosts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5201 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/xline.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include') diff --git a/include/xline.h b/include/xline.h index d9da09c0c..521035098 100644 --- a/include/xline.h +++ b/include/xline.h @@ -283,28 +283,28 @@ class XLineManager char* matches_qline(const char* nick); /** Check if a hostname matches a GLine - * @return host The host to check against + * @param user The user to check against * @return The reason for the line if there is a match, or NULL if there is no match */ - char* matches_gline(const char* host); + char* matches_gline(userrec* user); /** Check if a IP matches a ZLine - * @return ipaddr The IP to check against + * @param ipaddr The IP to check against * @return The reason for the line if there is a match, or NULL if there is no match */ char* matches_zline(const char* ipaddr); /** Check if a hostname matches a KLine - * @return host The host to check against + * @param user The user to check against * @return The reason for the line if there is a match, or NULL if there is no match */ - char* matches_kline(const char* host); + char* matches_kline(userrec* user); /** Check if a hostname matches a ELine - * @return host The host to check against + * @param user The user to check against * @return The reason for the line if there is a match, or NULL if there is no match */ - char* matches_exception(const char* host); + char* matches_exception(userrec* user); /** Expire any pending non-permenant lines */ -- cgit v1.2.3