* goto next room
*/
void smart_goto(const StrBuf *next_room) {
- if (gotoroom(next_room) == 2)
+ if (gotoroom(next_room) / 100 == 2)
readloop(readnew, eUseDefault);
else
do_404();
}
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);