diff options
| author | kaelima <jeppo_meyer@msn.com> | 2011-06-12 02:30:32 +0200 |
|---|---|---|
| committer | kaelima <jeppo_meyer@msn.com> | 2011-06-12 02:30:32 +0200 |
| commit | b9e8694540f019792f15dfbee8041cec61e8b2bf (patch) | |
| tree | 9e4207d391764e3d7ac3f71185aa9ccef46fb8e0 /src/server/game/Chat/Channels | |
| parent | da03bbbdab7515434191ab1f48e686fcac11cca2 (diff) | |
Core: Continued cleanup
If and for whitespaces.
Diffstat (limited to 'src/server/game/Chat/Channels')
| -rwxr-xr-x | src/server/game/Chat/Channels/Channel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Chat/Channels/Channel.cpp b/src/server/game/Chat/Channels/Channel.cpp index d1c5aa78cd5..5119c473478 100755 --- a/src/server/game/Chat/Channels/Channel.cpp +++ b/src/server/game/Chat/Channels/Channel.cpp @@ -205,11 +205,11 @@ void Channel::Join(uint64 p, const char *pass) if (!IsConstant()) { // Update last_used timestamp in db - if(!players.empty()) + if (!players.empty()) UpdateChannelUseageInDB(); // If the channel has no owner yet and ownership is allowed, set the new owner. - if ( !m_ownerGUID && m_ownership) + if (!m_ownerGUID && m_ownership) { SetOwner(p, (players.size() > 1 ? true : false)); players[p].SetModerator(true); |
