diff options
author | XTZGZoReX <none@none> | 2008-10-12 14:03:38 -0500 |
---|---|---|
committer | XTZGZoReX <none@none> | 2008-10-12 14:03:38 -0500 |
commit | 054725122f1ef534063ffcbc54b25e167ec3ed9c (patch) | |
tree | e476f95db36b0599d54b74eb01d850d212a09d21 /src/game/MiscHandler.cpp | |
parent | e539b4ca7f89eaaf3efe4cffea7e143f41fc592b (diff) |
[svn] * Various small changes here and there.
* Implementing MangChat IRC system.
* Added new config option, MAX_WHO, can be used to set the limit of characters being sent in a /who request from client.
--HG--
branch : trunk
Diffstat (limited to 'src/game/MiscHandler.cpp')
-rw-r--r-- | src/game/MiscHandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp index 010af48e050..96f13891938 100644 --- a/src/game/MiscHandler.cpp +++ b/src/game/MiscHandler.cpp @@ -254,8 +254,9 @@ void WorldSession::HandleWhoOpcode( WorldPacket & recv_data ) data << uint8(0); // new 2.4.0 data << uint32( pzoneid ); // player zone id - // 49 is maximum player count sent to client - if ((++clientcount) == 49) + // 49 is maximum player count sent to client - can be overriden + // through config, but is unstable + if ((++clientcount) == sWorld.getConfig(CONFIG_MAX_WHO)) break; } |