Changes have been made to the events calendar on the Halifax Regional Municipality website after it was hacked by someone claiming to be an engineer from Syria looking for investors.
The pitch was only up for a couple of hours before someone in the clerk's office spotted it and took it down on Thursday.
Brendan Elliott, a spokesman for the Halifax Regional Municipality, said the city's website was never compromised.
He said city events are posted on a Google calendar that many organizations use, which includes a feature that allows Google calendars to share their events.
"I guess the way that this worked was some spam bot out there sent out this soliciting for funds," he told CBC News.
"It just landed on our page because essentially we didn't have a lock on the door. There are some filters that we can put into place and we've done that. We're hoping that will solve the problem."
Elliott said all calendar postings will now have to be pre-approved by an administrator before they're posted.
He said the rest of the city's website was not compromised but as a precaution, all the passwords for the events calendar have been changed.
"The default for the calendar is for everyone to be able to put items on there whether they work for the city or not. But we've changed that," he said.
"We're going to have it blocked and have the events sent to an administrator who then decides whether that event should be on your calendar."