summaryrefslogtreecommitdiff
path: root/include/xline.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xline.h')
-rw-r--r--include/xline.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/xline.h b/include/xline.h
index 038403a23..794f9b794 100644
--- a/include/xline.h
+++ b/include/xline.h
@@ -56,6 +56,11 @@ class CoreExport XLine : public classbase
free(reason);
free(source);
}
+
+ /** Returns true whether or not the given user is covered by this line.
+ */
+ virtual bool Matches(User *u);
+
/** The time the line was added.
*/
time_t set_time;