@Override
	public String toString() {
		StringBuilder command = new StringBuilder();
		if (sender != null) {
			command.append(":").append(sender).append(" ");
		}

		if (recipient != null) {
			command.append("PRIVMSG ");
			command.append(recipient).append(" ");
			command.append(":").append(contents).append("\n");
		} else {
			command.append(contents).append("\n");
		}			

		return command.toString();
	}