fix goto stuff
[citadel.git] / webcit / roomops.c
index cf0b370bb43db8734a57716ce67bb8afe66d917a..099fabd9fb061693a06d6c21f73f58208b88dfa1 100644 (file)
@@ -127,7 +127,7 @@ void dotgoto(void) {
  * 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();