Sec 504 IPC reads:
Whoever intentionally insults, and thereby gives provocation to any person, intending or knowing it to be likely that such provocation will cause him to break the public peace, or to commit any other offence, shall be punished with imprisonment of either description for a term which may extend to two years, or with fine, or with both.
To try to understand any section af law you hae to first understand the essential ingredients of the required section.
As of now the ingredients of sec 504 of IPC are:
1)That the insult must be intentional
2)Such insult should lead to provocation
3)There is a knowledge that such provaction will cause the person insulted to break the public peace or commit any other offence.
4)Punishment: Jail upto 2 years or fine or both the fine and jail