From ab6b2a05e7dc472f29658c0b3dece6ac321cc760 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Wed, 11 Aug 2010 11:15:32 +0000 Subject: [PATCH] * GetRoomListHashLKRA(): just send a command if we're going to read the reply. --- webcit/roomlist.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.30.2