[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
This commit is contained in:
1 parent
e539b4ca7f
commit
054725122f
42 files changed
+5363
-13568
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user