Poker machines have been banned from the only pub in Romsey.