Journalist jailed for five months for remarks in a bar