diff options
| author | ariel- <ariel-@users.noreply.github.com> | 2016-07-16 16:32:37 -0300 |
|---|---|---|
| committer | ariel- <ariel-@users.noreply.github.com> | 2016-07-16 16:33:02 -0300 |
| commit | 7c714179930c8c369f124d8d1404656fff0a1199 (patch) | |
| tree | db456a23dddcd35f2e2140313c2ab4ff55ea4d08 /src | |
| parent | b4b3c10c69f73a0fd1e8efe4fd8684676f33948d (diff) | |
Core/Channel: restore accidentally deleted line, fixes channels not honoring ownership setting
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); |
