User target = addUser(modeParams[i],param[2]); System.out.println("Mode params: " + modeParams[i] + " channel: " + param[2]); System.out.println(modeAccess == null); System.out.println(target == null); System.out.println(chan == null); System.out.println(this.getPrefixFromMode(c) == 0); System.out.println(target.getPrefix(chan) == 0); if (added && modeAccess.get(target.getPrefix(chan)) < modeAccess.get(c)) { target.setPrefix(chan,this.getPrefixFromMode(c)); }