From a87326fb1759a9b96de8b0a0842bba1d4177e04e Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 28 Oct 2007 19:32:23 +0000 Subject: Make ZLine use Matches() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8406 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/xline.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/xline.h') diff --git a/include/xline.h b/include/xline.h index d5dd87aa5..0fa6e3f53 100644 --- a/include/xline.h +++ b/include/xline.h @@ -424,11 +424,11 @@ class CoreExport XLineManager */ GLine* matches_gline(User* user); - /** Check if a IP matches a ZLine - * @param ipaddr The IP to check against + /** Check if a user's IP matches a ZLine + * @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 */ - ZLine* matches_zline(const char* ipaddr); + ZLine* matches_zline(User *user); /** Check if a hostname matches a KLine * @param user The user to check against -- cgit v1.2.3