mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Channel: restore accidentally deleted line, fixes channels not honoring ownership setting
This commit is contained in:
@@ -213,6 +213,7 @@ void Channel::JoinChannel(Player* player, std::string const& pass)
|
||||
UpdateChannelUseageInDB();
|
||||
|
||||
// If the channel has no owner yet and ownership is allowed, set the new owner.
|
||||
if (!_ownerGuid && _ownershipEnabled)
|
||||
{
|
||||
SetOwner(guid, _playersStore.size() > 1);
|
||||
pinfo.SetModerator(true);
|
||||
|
||||
Reference in New Issue
Block a user