summaryrefslogtreecommitdiff
path: root/include/xline.h
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-28 18:59:24 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-28 18:59:24 +0000
commit9d5687922cffdf938c97c52a66abd86529dec91d (patch)
tree637e54472e19b1ddb63715e3a45ae61a480ed582 /include/xline.h
parentce9b1289c672d3d6b9cadec865754710bc1b80f7 (diff)
Ignore this commit. *jedi mind trick*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8400 e03df62e-2008-0410-955e-edbf42e46eb7
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;