TrinityCore/TrinityCore — pull request #8359 by Warpten (2012-11-19 21:32:09+00:00)
Title: Core/Calendar: Minor change.

Requested by Horn (Who can't make a PR atm).

` https://github.com/TrinityCore/TrinityCore/blob/master/src/server/game/Calendar/CalendarMgr.cpp#L47
and line 48
both max ids are set to 1
but
when calendar_events and calendar_invites are empty
and we try to get first free event / invite id
https://github.com/TrinityCore/TrinityCore/blob/master/src/server/game/Calendar/CalendarMgr.cpp#L303
++_maxEvent/InviteId is returned
-> 2
so initialize these 2 variables to 0
so 1 is returned`