if ((pos = content.indexOf(commandModifier)) == -1 ) return;
if ((pos = content.indexOf(commandModifier)) == -1) { return; }
    private void handlePrivmsg(String[] cmd) {        String[] messageContent = cmd[3].trim().substring(1).split("\\s+", 2);        IrcTarget target = getTarget(cmd);        String command = messageContent[0].toLowerCase();        String message = messageContent.length > 1 ? messageContent[1] : "";        if (command.startsWith(commandModifier)) {            // standard cmd            command = messageContent[0].substring(commandModifier.length())                    .toLowerCase();            if (command.length() == 0) {                // return at once no need to process                return;            }        } else if (admins.contains(target.getUser())) {            // could be inline cmd            // grab whole msg            String content = cmd[3].trim().substring(1);            int pos;            if ((pos = content.indexOf(commandModifier)) == -1 ) return;            content = content.substring(++pos);            // message one word only:            // String[] tmp = content.split("\\s+",3);             String[] tmp = content.split("\\s+",2);            command = tmp[0];            message = tmp[1];                    } else {            return;        }		boolean restricted = false;        Plugin plugin = loaderPlugin.getPluginList().get(command);        if (plugin == null) {        	// restricted?        	plugin = loaderPlugin.getRestrictedPluginList().get(command);        	if (plugin != null) {        		restricted = true;        	} else {        		// we could be using a namespace				int colonIndex;		        if ((colonIndex = command.indexOf(':')) != -1) {		            String pluginName = command.substring(0, colonIndex);		            command = command.substring(colonIndex + 1);					plugin = loaderPlugin.getPluginList().get(command);			        if (plugin == null) {			        	// restricted?			        	plugin = loaderPlugin.getRestrictedPluginList().get(command);			        	if (plugin != null) {			        		restricted = true;			        	} else {			        		return; // no handler			        	}			        }		        	String adjustedClassName = pluginName + "plugin";		        	String actualClassName = plugin.getClass().getSimpleName().toLowerCase();		        	if (!adjustedClassName.equals(actualClassName)) {		        		return; // incorrect namespace		        	}			    } else {			    	return; // or maybe there is just no handler			    }        	}        }        // command could be still using namespace (case of duplicates)        int colonIndex;        if ((colonIndex = command.indexOf(':')) != -1) {            command = command.substring(colonIndex + 1);		}        if (restricted) {            if (admins.contains(target.getUser())) {            } else {                sendMessageTo(target.getUser(), MessageTypes.PRIVMSG, "Sorry, you do not have access to this command.");                return;            }        }        IrcCommandEvent ircCmdEvent = new IrcCommandEvent(this, target, commandModifier, command, message);        try {            plugin.handleEvent(ircCmdEvent);        } catch (Throwable t) {            sendMessageTo(ircCmdEvent.getTarget().getDefaultTarget(), MessageTypes.PRIVMSG, "Execution failed: "+t.getClass().getName()+": "+t.getMessage());            t.printStackTrace();        }    }