X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Froomops.c;fp=webcit%2Froomops.c;h=301d83c5f55e00453403af932803054e9ee8cdbd;hp=28839bae3cf9380055869a659d1d1624f589d414;hb=7d37340257d55a5a09d6955cd082e94976ed6492;hpb=c06f9badb40bc9c4ed4547c567ae6d5b59301fc2 diff --git a/webcit/roomops.c b/webcit/roomops.c index 28839bae3..301d83c5f 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -1007,7 +1007,6 @@ void change_view(void) { * Set the message expire policy for this room and/or floor */ void set_room_policy(void) { - StrBuf *Line; if (!havebstr("ok_button")) { AppendImportantMessage(_("Cancelled. Changes were not saved."), -1); @@ -1016,13 +1015,14 @@ void set_room_policy(void) { wDumpContent(1); return; } - Line = NewStrBuf(); - serv_printf("SPEX roompolicy|%d|%d", ibstr("roompolicy"), ibstr("roomvalue")); + StrBuf *Line = NewStrBuf(); + + serv_printf("SPEX room|%d|%d", ibstr("roompolicy"), ibstr("roomvalue")); StrBuf_ServGetln(Line); GetServerStatusMsg(Line, NULL, 1, 0); if (WC->axlevel >= 6) { - serv_printf("SPEX floorpolicy|%d|%d", ibstr("floorpolicy"), ibstr("floorvalue")); + serv_printf("SPEX floor|%d|%d", ibstr("floorpolicy"), ibstr("floorvalue")); StrBuf_ServGetln(Line); GetServerStatusMsg(Line, NULL, 1, 0); }