From 05d2b12c2c3e0cc639bd6bbb60363f14a1916c0d Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 7 Apr 2005 05:08:10 +0000 Subject: [PATCH] Added VF_ module flags as discussed with Craig git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@996 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 7 +++++++ 1 file changed, 7 insertions(+) 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"