@Override
    public void handleCommand(CommandMessage m) {
		String[] args = m.getArgs();

        if (args.length == 1) {
            String nick = m.getNick();
            if (pozdravy.containsKey(nick)) {
                ph.sendMessage(nick + ": " + pozdravy.get(nick));
            }
        } else if (args.length < 3) {
            if (pozdravy.containsKey(args[1])) {
                ph.sendMessage(args[1] + ": " + pozdravy.get(args[1]));
            }
        } else if (args[1].equals("set")) {
            StringBuilder sb = new StringBuilder();
            for (int i = 3; i < args.length; i++) {
                sb.append(args[i]);
                sb.append(' ');
            }
            sb.deleteCharAt(sb.length() - 1);

            pozdravy.put(args[2], sb.toString());
			try {
				ph.saveData(pozdravy);
			} catch (IOException ex) {
				logger.warn("Pozdravy couldn't be saved.", ex);
			}
        } else if (args[1].equals("reset")) {
            pozdravy.remove(args[2]);
			try {
				ph.saveData(pozdravy);
				ph.sendMessage("Pozdrav pro " + args[2] + " byl zrušen");
			} catch (IOException ex) {
				logger.warn("Pozdravy couldn't be saved.", ex);
			}
        } else {
            ph.sendMessage(this.help(ph.getPrefix()));
        }
    }