projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Catch errors while saving roomnet configs
[citadel.git]
/
webcit
/
roomops.c
diff --git
a/webcit/roomops.c
b/webcit/roomops.c
index 099fabd9fb061693a06d6c21f73f58208b88dfa1..bee589e4e2b98e6d0a3e10b7996384e6641e7d2b 100644
(file)
--- a/
webcit/roomops.c
+++ b/
webcit/roomops.c
@@
-1210,6
+1210,14
@@
void netedit(void) {
}
serv_puts("000");
}
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);
FlushIgnetCfgs(&WC->CurRoom);
FreeStrBuf(&Line);