Room info in banner was completely broken. Fixed.
[citadel.git] / webcit / roomops.c
index 076e5636b8154c03870d8f55117c040bd0f25555..11e536acd56e3c30a4538af278d623445b37a75a 100644 (file)
@@ -568,8 +568,9 @@ void LoadXRoomInfoText(void)
        StrBuf *Buf;
        int Done = 0;
        
-       if (WCC->CurRoom.XHaveInfoTextLoaded)
+       if (WCC->CurRoom.XHaveInfoTextLoaded) {
                return;
+       }
 
        WCC->CurRoom.XHaveInfoTextLoaded = 1;
        Buf = NewStrBuf();
@@ -589,7 +590,7 @@ void LoadXRoomInfoText(void)
                }
        }
 
-       FreeStrBuf (&Buf);
+       FreeStrBuf(&Buf);
 }