* GetRoomListHashLKRA(): just send a command if we're going to read the reply.
authorWilfried Göesgens <willi@citadel.org>
Wed, 11 Aug 2010 11:15:32 +0000 (11:15 +0000)
committerWilfried Göesgens <willi@citadel.org>
Wed, 11 Aug 2010 11:15:32 +0000 (11:15 +0000)
webcit/roomlist.c

index 5710b54d019568c5300423667e86c9bbc81e060a..928e34adc440e346e1304205d1b5476503e61fc2 100644 (file)
@@ -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;
 }