Core/Calendar: Add TwoSide Interaction configuration option for Calendar Invites
This commit is contained in:
1 parent
5b14848a10
commit
6df92dad61
4 files changed
+11
-1
No files matched your search
@@ -425,7 +425,7 @@ void WorldSession::HandleCalendarEventInvite(WorldPacket& recvData)
|
||||
return;
|
||||
}
|
||||
|
||||
if (_player->GetTeam() != team)
|
||||
if (_player->GetTeam() != team && !sWorld->getBoolConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_CALENDAR))
|
||||
{
|
||||
SendCalendarCommandResult(CALENDAR_ERROR_NOT_ALLIED);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user