diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Chat/Channels/Channel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Chat/Channels/Channel.cpp b/src/server/game/Chat/Channels/Channel.cpp index 5a49b691d41..a34f0f4d9a2 100644 --- a/src/server/game/Chat/Channels/Channel.cpp +++ b/src/server/game/Chat/Channels/Channel.cpp @@ -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); |
