* after creating a floor, flush the caches.
authorWilfried Göesgens <willi@citadel.org>
Sat, 14 Aug 2010 14:09:16 +0000 (14:09 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 14 Aug 2010 14:09:16 +0000 (14:09 +0000)
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);