X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fpolicy.c;h=dd1b7994b726508ec17f85208ee383e28d3b3e72;hp=226e985dc58e0eb61516af618a380c457f369062;hb=f95401b73d6f0c34dd00639be58fa8731e6959e9;hpb=479282938ffe1a1b975643837655995cf7f058f8 diff --git a/citadel/policy.c b/citadel/policy.c index 226e985dc..dd1b7994b 100644 --- a/citadel/policy.c +++ b/citadel/policy.c @@ -35,6 +35,7 @@ #include "msgbase.h" #include "citserver.h" +#include "ctdl_module.h" /* * Retrieve the applicable expire policy for a specific room @@ -178,4 +179,14 @@ void cmd_spex(char *argbuf) { } +/*****************************************************************************/ +/* MODULE INITIALIZATION STUFF */ +/*****************************************************************************/ +CTDL_MODULE_INIT(policy) +{ + CtdlRegisterProtoHook(cmd_gpex, "GPEX", "Autoconverted. TODO: document me."); + CtdlRegisterProtoHook(cmd_spex, "SPEX", "Autoconverted. TODO: document me."); + /* return our Subversion id for the Log */ + return "$Id$"; +}