projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16cc42f
)
Catch errors while saving roomnet configs
author
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 8 Dec 2014 22:23:52 +0000
(23:23 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 8 Dec 2014 22:23:52 +0000
(23:23 +0100)
webcit/roomops.c
patch
|
blob
|
history
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("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);