]> code.citadel.org Git - citadel.git/blobdiff - webcit/floors.c
* New COND:FLOOR:NROOMS : whether this floor has n-rooms
[citadel.git] / webcit / floors.c
index 0cb82ce2cd06a6e773f541f2fa87cd26dab7b24b..b183d6be18b7b28be8051fa3354a03b511ff2867 100644 (file)
@@ -161,6 +161,7 @@ void delete_floor(void) {
                StrBufCutLeft(Buf, 4);
        }
 
+       FlushRoomlist();
        display_floorconfig(Buf);
        FreeStrBuf(&Buf);
 }
@@ -183,6 +184,7 @@ void create_floor(void) {
                StrBufCutLeft(Buf, 4);
        }
 
+       FlushRoomlist();
        display_floorconfig(Buf);
        FreeStrBuf(&Buf);
 }
@@ -195,6 +197,7 @@ void rename_floor(void) {
        StrBuf *Buf;
 
        Buf = NewStrBuf();
+       FlushRoomlist();
 
        serv_printf("EFLR %d|%s", ibstr("floornum"), bstr("floorname"));
        StrBuf_ServGetln(Buf);