]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/modules/instmsg/serv_instmsg.c
If you can't handle me at my worst, you don't deserve me at my best.
[citadel.git] / citadel / server / modules / instmsg / serv_instmsg.c
index 1e2d0f04358295704b29f3570d46eb65b61be40c..978efef6dade7ff7a6cd37e1b6e984ac3f93dab0 100644 (file)
@@ -558,15 +558,17 @@ void flush_conversations_to_disk(time_t if_older_than) {
 }
 
 
-
 void instmsg_timer(void) {
        flush_conversations_to_disk(300);       /* Anything that hasn't peeped in more than 5 minutes */
 }
 
+
 void instmsg_shutdown(void) {
        flush_conversations_to_disk(0);         /* Get it ALL onto disk NOW. */
 }
 
+
+// Initialization function, called from modules_init.c
 char *ctdl_module_init_instmsg(void) {
        if (!threading) {
                CtdlRegisterProtoHook(cmd_gexp, "GEXP", "Get instant messages");