summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-06 19:22:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-06 19:22:11 +0000
commit05e460e96cdd03f94587c0e0c5792c75d3dfa440 (patch)
treef62fee5c6107de87d3062eeff778ac28b27af345 /include/inspircd.h
parent32aa3afffaee0aabfd2aa295ae029af8cddba472 (diff)
Added OnUserPreMessage and OnUserPreNotice events (not tested yet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@407 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 7d7971532..f38ee47be 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -64,6 +64,11 @@
#define WM_AND 1
#define WM_OR 2
+// flags for use with OnUserPreMessage and OnUserPreNotice
+
+#define TYPE_USER 1
+#define TYPE_CHANNEL 2
+
typedef std::deque<std::string> file_cache;
/* prototypes */