CtdlRegisterProtoHook(cmd_gexp, "GEXP", "Get express messages");
CtdlRegisterProtoHook(cmd_sexp, "SEXP", "Send an express message");
CtdlRegisterSessionHook(delete_express_messages, EVT_STOP);
- CtdlRegisterXmsgHook(send_express_message);
+ CtdlRegisterXmsgHook(send_express_message, XMSG_PRI_LOCAL);
return "$Id$";
}
}
end_critical_section(S_SESSION_TABLE);
- /* Log the page to disk if configured to do so */
+ /* Log the page to disk if configured to do so
+
+
+ ****** FIX FIX FIX add this back in *************
+
if ((strlen(config.c_logpages) > 0) && (do_send) ) {
fp = fopen(CC->temp, "wb");
fprintf(fp, "%c%c%c", 255, MES_NORMAL, 0);
save_message(CC->temp, "", config.c_logpages, MES_LOCAL, 1);
unlink(CC->temp);
}
+ *************************************/
return (message_sent);
}