The IPtoCountry mod creates a new variable "strLocale" which holds the name of the country someone connects from.
This will not affect the flag mod you're using unless you choose to display the flag of the users' real location in "topic.asp" (instead of the one they reported when they registered). To do so, there is one change to "inc_locale.asp":
"inc_locale.asp"