All pastes #776716 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-16 06:40 UTC
rendered paste body
 for (int i =0; i<listOfChans.size();i++){
    	       //Something here is slow
    	       //Shockingly slow
    	       if (listOfChans.get(i).userList.remove(UserNameMatch.group(1) + "\n")){
    	        	//log the quit
    	        	toChan(listOfChans.get(i).name, getTime()+" " +UserNameMatch.group(1) +UserNameMatch.group(2)+" has quit "+ listOfChans.get(i).name +" Reason: "+matched.group(4) +"\n" );
    	        					 
    	        	//if this channel needs its userlist refilled
    	        	if (i==thisChanNum){
    	        		reFillUserListWindow(thisChanNum);
    	        		chatWin.append(getTime()+" " +UserNameMatch.group(1) + UserNameMatch.group(2)+ " has quit " + listOfChans.get(i).name +" Reason:"+matched.group(4)+ "\n");
    	        	}
    	        }
}