Site config protocol and UI for XMPP port numbers
[citadel.git] / citadel / modules / jabber / serv_xmpp.c
index b7357925707b7051f4d15bdef7358ebeb5cdc060..8de7350fe0b3129f7c187097f22bb6ea9e7ad5bf 100644 (file)
@@ -437,7 +437,7 @@ CTDL_MODULE_INIT(jabber)
 {
 #ifdef HAVE_EXPAT
        if (!threading) {
-               CtdlRegisterServiceHook(5222,                   /* FIXME change to config.c_xmpp_port */
+               CtdlRegisterServiceHook(config.c_xmpp_c2s_port,
                                        NULL,
                                        xmpp_greeting,
                                        xmpp_command_loop,