Package org.jibble.pircbot

Examples of org.jibble.pircbot.User


    // IRC user authorization check against prefixes
    // Currently just for admin channel as first-order level of security
    public boolean userAuthorized(String channel, String user) {
        if (this.plugin.cChanAdmin(botId, channel))
            try {
                User check = this.getUser(user, channel);
                if (this.plugin.isDebug()) {
                    CraftIRC.log.info(String.format(CraftIRC.NAME
                            + " Minebot userAuthorized(): "
                            + String.valueOf(check != null
                                    && this.plugin.cBotAdminPrefixes(botId).contains(getHighestUserPrefix(check)))));
View Full Code Here

TOP

Related Classes of org.jibble.pircbot.User

Copyright © 2018 www.massapicom. 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.