rem: session.logout(); res.message = new Error(gettext("Sorry, your account has been disabled. Please contact the maintainer of this site for further information.")); res.redirect(root.href()); 
add: User.logout(); res.status = 401; res.writeln(gettext("Sorry, your account has been blocked.")); res.writeln(gettext("Please contact the maintainer of this site for further information.")); res.stop(); 
context: HopObject.prototype.onRequest = function() {   if (req.postParams.cancel) {      switch (this.constructor) {         case Admin:         res.redirect(req.action + "?page=" + req.queryParams.page +                "#" + req.queryParams.id);         case Members:         case Membership:         res.redirect(this._parent.href());         case Skin:         case Skins:         res.redirect(Skins.getRedirectUrl(req.postParams));         default:         res.redirect(this.href());      }   }   User.autoLogin();   res.handlers.membership = User.getMembership();   if (User.getCurrentStatus() === User.BLOCKED) {      session.logout();      res.message = new Error(gettext("Sorry, your account has been disabled. Please contact the maintainer of this site for further information."));      res.redirect(root.href());   }      if (!this.getPermission(req.action)) {      res.status = 401;      res.write("Sorry, you are not allowed to access this part of the site.");      res.stop();   }   if (session.data.layout) {      // Test-drive a layout      res.handlers.layout = session.data.layout;      res.message = session.data.layout.renderSkinAsString("testdrive");   } else {      res.handlers.layout = res.handlers.site.layout || new Layout;   }   res.skinpath = res.handlers.layout.getSkinPath();   return;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/3d0fae4302b944a61894fbad9cb3eb06f72984a3/HopObject.js/buggy/code/HopObject/HopObject.js