]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_rwho.c
mk_module_init.sh now tests to see if echo supports -e and -E
[citadel.git] / citadel / serv_rwho.c
index 0123145f0bbff2b01ad2460f03497dc6a3ed6748..553049c9b3bf61da5140f91605f5851066f0f548 100644 (file)
 #include <limits.h>
 #include "citadel.h"
 #include "server.h"
-#include "sysdep_decls.h"
 #include "citserver.h"
 #include "support.h"
 #include "config.h"
 #include "control.h"
-#include "serv_extensions.h"
 #include "room_ops.h"
 #include "user_ops.h"
 #include "policy.h"
@@ -46,6 +44,8 @@
 #include "tools.h"
 
 
+#include "ctdl_module.h"
+
 
 /*
  * display who's online
@@ -253,12 +253,14 @@ void cmd_stel(char *cmdbuf)
 
 
 
-char *serv_rwho_init(void)
+CTDL_MODULE_INIT(rwho)
 {
         CtdlRegisterProtoHook(cmd_rwho, "RWHO", "Display who is online");
         CtdlRegisterProtoHook(cmd_hchg, "HCHG", "Masquerade hostname");
         CtdlRegisterProtoHook(cmd_rchg, "RCHG", "Masquerade roomname");
         CtdlRegisterProtoHook(cmd_uchg, "UCHG", "Masquerade username");
         CtdlRegisterProtoHook(cmd_stel, "STEL", "Enter/exit stealth mode");
+
+       /* return our Subversion id for the Log */
         return "$Id$";
 }