]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Added VF_ module flags as discussed with Craig
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 7 Apr 2005 05:08:10 +0000 (05:08 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 7 Apr 2005 05:08:10 +0000 (05:08 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@996 e03df62e-2008-0410-955e-edbf42e46eb7

include/modules.h

index c124216d6807e9b58c32d073e85831409c234d88..9b2118472b15307c689a8d0e7c66da6a6905c4eb 100644 (file)
 #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"