protected boolean isSenderOp(String nick) // to check if the sender of a
																						// message is op, necessary for some
																						// options
	{
		User users[] = bot.getUsers(gameChan);

		for (int i = 0; i < users.length; i++) {
			String nick2 = users[i].getNick();
			if (nick2.equals("&" + nick) || nick2.equals("~" + nick)) {
				return true;
			}
			if (nick2.equals(nick))
				return users[i].isOp();
		}
		return false;
	}