X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Froomlist.c;h=928e34adc440e346e1304205d1b5476503e61fc2;hb=ab6b2a05e7dc472f29658c0b3dece6ac321cc760;hp=5710b54d019568c5300423667e86c9bbc81e060a;hpb=7b0b7d27f626cac3962358d293ceabc694da253b;p=citadel.git diff --git a/webcit/roomlist.c b/webcit/roomlist.c index 5710b54d0..928e34adc 100644 --- a/webcit/roomlist.c +++ b/webcit/roomlist.c @@ -125,9 +125,12 @@ HashList *GetRoomListHashLKRA(StrBuf *Target, WCTemplputParams *TP) if (WCC->Floors == NULL) GetFloorListHash(Target, TP); - serv_puts("LKRA"); + if (WCC->Rooms == NULL) + { + serv_puts("LKRA"); WCC->Rooms = GetRoomListHash(Target, TP); + } return WCC->Rooms; }