aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2010-01-16 12:26:52 +0100
committerXTZGZoReX <none@none>2010-01-16 12:26:52 +0100
commit7b4922172b9dea4c6fd7c70f1a608d4ca8b1a119 (patch)
tree94259001b54083170f072d883db923ed77866823 /src
parent2c03836a7c82803059b1b477d568d47ca2849179 (diff)
* Fix a crash in logging part of [7048].
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/WorldSession.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/WorldSession.cpp b/src/game/WorldSession.cpp
index b5b3a67e077..2e7870479c2 100644
--- a/src/game/WorldSession.cpp
+++ b/src/game/WorldSession.cpp
@@ -885,8 +885,8 @@ void WorldSession::SendAddonsInfo()
data << uint8(usepk);
if (usepk) // if CRC is wrong, add public key (client need it)
{
- sLog.outError("ADDON: CRC (0x%x) for addon %s is wrong (does not match expected %x), sending pubkey",
- itr->Name, itr->CRC, STANDARD_ADDON_CRC);
+ sLog.outError("ADDON: CRC (0x%x) for addon %s is wrong (does not match expected 0x%x), sending pubkey",
+ itr->CRC, itr->Name.c_str(), STANDARD_ADDON_CRC);
data.append(addonPublicKey, sizeof(addonPublicKey));
}