mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[12066] Optimize some parts for ++C
This commit is contained in:
parent
ba86b02dd4
commit
3707b04330
48 changed files with 163 additions and 163 deletions
|
|
@ -1574,7 +1574,7 @@ bool ChatHandler::isValidChatMessage(const char* message)
|
|||
case 'c':
|
||||
color = 0;
|
||||
// validate color, expect 8 hex chars
|
||||
for (int i = 0; i < 8; i++)
|
||||
for (int i = 0; i < 8; ++i)
|
||||
{
|
||||
char c;
|
||||
reader >> c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue