* added a comment infront of the svn modifieable returns. Now it will be me listed...
[citadel.git] / citadel / serv_network.c
index 1aaee9a32cbe2fc44559889871283d22535ee450..840ebd5088fc380f51ec2e97badf61384f12553f 100644 (file)
@@ -2055,6 +2055,12 @@ void cmd_netp(char *cmdbuf)
                CC->net_node);
 }
 
+int network_room_handler (struct ctdlroom *room)
+{
+       network_queue_room(room, NULL);
+       return 0;
+}
+
 /*
  * Module entry point
  */
@@ -2066,5 +2072,8 @@ char *serv_network_init(void)
        CtdlRegisterProtoHook(cmd_netp, "NETP", "Identify as network poller");
        CtdlRegisterProtoHook(cmd_nsyn, "NSYN", "Synchronize room to node");
        CtdlRegisterSessionHook(network_do_queue, EVT_TIMER);
+        CtdlRegisterRoomHook(network_room_handler);
+
+       /* return our Subversion id for the Log */
        return "$Id$";
 }