Package ecks.services

Examples of ecks.services.SrvAuth.checkAccess()


        if (args.length != 2) {
            Generic.curProtocol.outPRVMSG(who, replyto, "\u0002Usage:\u0002 changepass <old> <new>");
            return;
        }

        if (temp.checkAccess(uTemp).ordinal() >= CommandDesc.access_levels.A_HELPER.ordinal())  // we're a helper
        {
            // changepass username newpassword
            if (temp.getUsers().containsKey(args[0])) {
                temp.getUsers().get(args[0]).cngpass(args[1]);
                Generic.curProtocol.outPRVMSG(who, replyto, "Password Changed!");
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.