diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-16 12:07:02 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-16 12:07:02 +0000 |
commit | eb61271c43f563277820ee5d86655113607571fa (patch) | |
tree | e02c4422112fb94f463895ad60618a5b6d36e60b /include/modules.h | |
parent | 064d18536159e5f907f8ccfd1147281c8ec93bc4 (diff) |
Moved a ton of defined to modules.h that belong there
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2524 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index b86576296..5e985b8bb 100644 --- a/include/modules.h +++ b/include/modules.h @@ -101,6 +101,17 @@ typedef std::deque<userrec*> chanuserlist; #define FD_MAGIC_NUMBER -42 +// flags for use with WriteMode + +#define WM_AND 1 +#define WM_OR 2 + +// flags for use with OnUserPreMessage and OnUserPreNotice + +#define TYPE_USER 1 +#define TYPE_CHANNEL 2 +#define TYPE_SERVER 3 + /*extern void createcommand(char* cmd, handlerfunc f, char flags, int minparams, char* source); extern void server_mode(char **parameters, int pcnt, userrec *user);*/ |