summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-07 05:08:10 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-07 05:08:10 +0000
commit05d2b12c2c3e0cc639bd6bbb60363f14a1916c0d (patch)
treeed6e293c18490c7b8effe5244edaf319cd630909 /include/modules.h
parent4a2bc56abe43ed11283768584e0ca87f224e66ff (diff)
Added VF_ module flags as discussed with Craig
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@996 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h
index c124216d6..9b2118472 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -48,6 +48,13 @@
#define AC_INVITE 7 // a user is being invited
#define AC_GENERAL_MODE 8 // a user channel mode is being changed
+// used to define a set of behavior bits for a module
+
+#define VF_STATIC 1 // module is static, cannot be /unloadmodule'd
+#define VF_VENDOR 2 // module is a vendor module (came in the original tarball, not 3rd party)
+#define VF_SERVICEPROVIDER 4 // module provides a service to other modules (can be a dependency)
+#define VF_COMMON 8 // module needs to be common on all servers in a mesh to link
+
#include "dynamic.h"
#include "base.h"
#include "ctables.h"