summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-10 17:18:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-10 17:18:58 +0000
commit52aec3dd2a8a30719b678ea04741c6a36ba82990 (patch)
tree6a91056bfc6f4c65a7d7b0dce91524ed7b2e3e92 /include
parentba5a5b345cdfbc73c0faf9a6cb5fd8d96474ae41 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/xline.h14
1 files changed, 7 insertions, 7 deletions
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
*/