rem: rows+=MessageWindow.putmsg(1,MessageWindow.height,bbs.text(CfgLibLstHdr),MessageWindow_Attr,true); bbs.private_chat(); 
add:   console.pause(); bbs.nodesync(); 
context: function get_message(){	var rows=0;	/* Update node action */	if(bbs.node_action != system.node_list[bbs.node_num-1].action)		system.node_list[bbs.node_num-1].action = bbs.node_action;	/* Check for messages */	if(system.node_list[bbs.node_num-1].misc & NODE_MSGW)		rows+=MessageWindow.putmsg(1,MessageWindow.height,system.get_telegram(user.number),MessageWindow_Attr,true);	if(system.node_list[bbs.node_num-1].misc & NODE_NMSG)		rows+=MessageWindow.putmsg(1,MessageWindow.height,system.get_node_message(bbs.node_num),MessageWindow_Attr,true);	/* Fix up node status */	if(system.node_list[bbs.node_num-1].status==NODE_WFC) {		log("NODE STATUS FIXUP");		system.node_list[bbs.node_num-1].status=NODE_INUSE;	}	/* Check if user data has changed */	if((system.node_list[bbs.node_num-1].misc & NODE_UDAT) && user.compare_ars("REST NOT G")) {		user.cached=FALSE;		system.node_list[bbs.node_num-1].misc &= ~NODE_UDAT;	}	/* New day? */	if(!(system.status & SS_NEWDAY))		bbs.nodesync();	/* Interrupted? */	if(system.node_list[bbs.node_num-1].misc & NODE_INTR) {		rows+=MessageWindow.putmsg(1,MessageWindow.height,bbs.text(CfgLibLstHdr),MessageWindow_Attr,true);		log("Interrupted");		hangup_now=true;	}	/* Sysop Chat? */	if(system.node_list[bbs.node_num-1].misc & NODE_LCHAT) {		rows+=MessageWindow.putmsg(1,MessageWindow.height,bbs.text(CfgLibLstHdr),MessageWindow_Attr,true);		bbs.private_chat();		draw_main(true);		for(i=0; i<menus_displayed.length; i++)			menus_displayed[i].draw();	}	/* Time left warning? */	if((bbs.timeleft/60)/(5-console.timeleft_warning) && (!user.compare_ars("SYSOP")))		rows+=MessageWindow.putmsg(1,MessageWindow.height,format(bbs.text(OnlyXminutesLeft),bbs.timeleft/60,(timeleft/60)?"s":""),MessageWindow_Attr,true);	return(rows);}
meta: 9592	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9592/f62b8433b85c6442be588985ac800762184671b9/lbshell.js/buggy/lbshell.js