/** * Called when the input was a line of text that was not a command. This normally means it is sent * to the server/channel/user as-is, with no further processing. * * @param origin The window in which the command was typed * @param line The line input by the user */ @Override protected void handleNonCommand(final InputWindow origin, final String line) { if (origin == null) { Logger.userError(ErrorLevel.MEDIUM, "Invalid global command: " + line); } else { origin.addLine("commandError", "Invalid global command: " + line); } }