]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_calendar.c
* serv_calendar.c: fixed a bug in the "ICAL freebusy" subcommand which
[citadel.git] / citadel / serv_calendar.c
index d35354048312a073d78a911567a9dddb7da9ee25..ffe7b87de0250e686adc1e601d0e9cf4742825cf 100644 (file)
@@ -1152,7 +1152,7 @@ void ical_freebusy(char *who) {
 
        strcpy(hold_rm, CC->quickroom.QRname);  /* save current room */
 
-       if (getroom(&CC->quickroom, USERCALENDARROOM) != 0) {
+       if (getroom(&CC->quickroom, calendar_room_name) != 0) {
                cprintf("%d Cannot open calendar\n", ERROR+ROOM_NOT_FOUND);
                getroom(&CC->quickroom, hold_rm);
                return;