X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fcalendar%2Fserv_calendar.c;h=062e24d055c57cbf316c72e41536dfd6964e343e;hp=ae8ae7a78aee1faad7c740fb87d4332b7159c422;hb=156637d5117372187db974b035237147a4c8e897;hpb=53c742f994c6d4a32b91c41ec92bc7abe8760df2 diff --git a/citadel/modules/calendar/serv_calendar.c b/citadel/modules/calendar/serv_calendar.c index ae8ae7a78..062e24d05 100644 --- a/citadel/modules/calendar/serv_calendar.c +++ b/citadel/modules/calendar/serv_calendar.c @@ -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);