From: brain Date: Thu, 7 Apr 2005 05:08:10 +0000 (+0000) Subject: Added VF_ module flags as discussed with Craig X-Git-Tag: v2.0.23~10652 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=05d2b12c2c3e0cc639bd6bbb60363f14a1916c0d;p=user%2Fhenk%2Fcode%2Finspircd.git Added VF_ module flags as discussed with Craig git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@996 e03df62e-2008-0410-955e-edbf42e46eb7 --- 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"