Package cu.ftpd.user

Examples of cu.ftpd.user.User.takeCredits()


                    try {
                        User user = ServiceManager.getServices().getUserbase().getUser(victim.getKey());
                        long credits = 0;
                        if (!user.hasLeech()) {
                            credits = victim.getValue() * multiplier;
                            user.takeCredits(credits);
                        }
                        nukees +=  user.getUsername() + '/' + user.getPrimaryGroup() + '/' + credits + '|';
                    } catch (NoSuchUserException e) {
                        // just skip this user if it doesn't exist anymore
                    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.