From c5d8d3e3c6b7a5cb44572d9a9b6e5249d74cb1f7 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 12 Jul 2008 09:43:58 +0000 Subject: Fix for #564 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9961 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/users.h b/include/users.h index 3edb9a99e..293465254 100644 --- a/include/users.h +++ b/include/users.h @@ -698,9 +698,10 @@ class CoreExport User : public connection */ User(InspIRCd* Instance, const std::string &uid = ""); - /** Check if the user matches a G or K line, and disconnect them if they do + /** Check if the user matches a G or K line, and disconnect them if they do. + * Returns true if the user matched a ban, false else. */ - void CheckLines(); + bool CheckLines(); /** Returns the full displayed host of the user * This member function returns the hostname of the user as seen by other users -- cgit v1.2.3