summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h5
1 files changed, 3 insertions, 2 deletions
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