* set_room_policy(): use modern representations of the policy names
authorWilfried Göesgens <willi@citadel.org>
Sun, 15 Aug 2010 13:02:43 +0000 (13:02 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 15 Aug 2010 13:02:43 +0000 (13:02 +0000)
webcit/roomops.c

index 56e3f204189a8e67ea37c4674956bec06423fd18..79323c9f8a110fd892d64a3c9d6b6f7c879aa254 100644 (file)
@@ -2942,17 +2942,17 @@ void set_room_policy(void) {
                return;
        }
 
-       serv_printf("SPEX room|%d|%d", ibstr("roompolicy"), ibstr("roomvalue"));
+       serv_printf("SPEX roompolicy|%d|%d", ibstr("roompolicy"), ibstr("roomvalue"));
        serv_getln(buf, sizeof buf);
        strcpy(WC->ImportantMessage, &buf[4]);
 
        if (WC->axlevel >= 6) {
                strcat(WC->ImportantMessage, "<br />\n");
-               serv_printf("SPEX floor|%d|%d", ibstr("floorpolicy"), ibstr("floorvalue"));
+               serv_printf("SPEX floorpolicy|%d|%d", ibstr("floorpolicy"), ibstr("floorvalue"));
                serv_getln(buf, sizeof buf);
                strcat(WC->ImportantMessage, &buf[4]);
        }
-
+       FlushRoomlist();
        http_transmit_thing(ChrPtr(do_template("room_edit", NULL)), 0);
 }