]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/calendar/serv_calendar.c
Temporarily revert to the old path to ical.h for release
[citadel.git] / citadel / modules / calendar / serv_calendar.c
index 35e2bbea8b4c48932a6dd548bdf0e84db8a665f3..62b3a4e42c95b64aebdb75a6263fda17d01d31bd 100644 (file)
@@ -2313,6 +2313,11 @@ CTDL_MODULE_INIT(calendar)
 {
        if (!threading)
        {
+
+               /* Tell libical to return errors instead of aborting if it gets bad data */
+               icalerror_errors_are_fatal = 0;
+
+               /* Initialize our hook functions */
                CtdlRegisterMessageHook(ical_obj_beforesave, EVT_BEFORESAVE);
                CtdlRegisterMessageHook(ical_obj_aftersave, EVT_AFTERSAVE);
                CtdlRegisterSessionHook(ical_create_room, EVT_LOGIN);