Core/Channels: allow to disable ownership of channels

This commit is contained in:
ShinDarth 2016-08-15 14:27:13 +02:00
parent f81ec2bee4
commit eddebedb2d
4 changed files with 11 additions and 6 deletions

View file

@ -25,9 +25,9 @@
#include "AccountMgr.h"
#include "Player.h"
Channel::Channel(std::string const& name, uint32 channelId, uint32 channelDBId, TeamId teamId, bool announce):
Channel::Channel(std::string const& name, uint32 channelId, uint32 channelDBId, TeamId teamId, bool announce, bool ownership):
_announce(announce),
_ownership(true),
_ownership(ownership),
_IsSaved(false),
_flags(0),
_channelId(channelId),