projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b0b7d2
)
* GetRoomListHashLKRA(): just send a command if we're going to read the reply.
author
Wilfried Göesgens
<willi@citadel.org>
Wed, 11 Aug 2010 11:15:32 +0000
(11:15 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Wed, 11 Aug 2010 11:15:32 +0000
(11:15 +0000)
webcit/roomlist.c
patch
|
blob
|
history
diff --git
a/webcit/roomlist.c
b/webcit/roomlist.c
index 5710b54d019568c5300423667e86c9bbc81e060a..928e34adc440e346e1304205d1b5476503e61fc2 100644
(file)
--- 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;
}