There is nothing wrong in having something with in Gloves. As long as he is not getting that in contact to the ball.
Had he had anything on his bat that would have helped him... then it would have been illegal. For something within gloves, which is used only for one's comfort, there is nothing wrong in it