#include <limits.h>
#include "citadel.h"
#include "server.h"
-#include "sysdep_decls.h"
#include "citserver.h"
#include "support.h"
#include "config.h"
-#include "serv_extensions.h"
#include "room_ops.h"
#include "user_ops.h"
#include "policy.h"
#include "msgbase.h"
#include "tools.h"
+#include "ctdl_module.h"
+
+
/*
* If we are in a "notes" view room, and the client has sent an RFC822
}
-char *serv_notes_init(void)
+CTDL_MODULE_INIT(notes)
{
CtdlRegisterMessageHook(serv_notes_beforesave, EVT_BEFORESAVE);