From: Wilfried Goesgens Date: Mon, 8 Dec 2014 22:23:52 +0000 (+0100) Subject: Catch errors while saving roomnet configs X-Git-Tag: v9.01~77 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=3de82b24ab6b64e144577a86938ba04d53042d5c Catch errors while saving roomnet configs --- diff --git a/webcit/roomops.c b/webcit/roomops.c index 099fabd9f..bee589e4e 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -1210,6 +1210,14 @@ void netedit(void) { } serv_puts("000"); + serv_puts("NOOP"); + StrBuf_ServGetln(Line); + if (GetServerStatus(Line, NULL) != 2) { /* WHOOOPS? ERROR? */ + AppendImportantMessage(SRV_STATUS_MSG(Line)); + StrBuf_ServGetln(Line); /* resync... */ + } + + FlushIgnetCfgs(&WC->CurRoom); FreeStrBuf(&Line);