From 7d37340257d55a5a09d6955cd082e94976ed6492 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 15 May 2012 16:55:21 -0400 Subject: [PATCH] wtf? --- webcit/roomops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } -- 2.30.2