From 5ef99978c03eb5cc7d40c1f1a1cc4e5c78f8ea27 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 29 Sep 2025 22:01:40 +0200 Subject: Core/Misc: Reduce differences between branches --- src/server/scripts/World/action_ip_logger.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/server/scripts/World') diff --git a/src/server/scripts/World/action_ip_logger.cpp b/src/server/scripts/World/action_ip_logger.cpp index f5e1f05569d..71550d2a800 100644 --- a/src/server/scripts/World/action_ip_logger.cpp +++ b/src/server/scripts/World/action_ip_logger.cpp @@ -206,7 +206,6 @@ class CharacterActionIpLogger : public PlayerScript // We declare all the required variables uint32 playerGuid = player->GetSession()->GetAccountId(); - ObjectGuid::LowType characterGuid = player->GetGUID().GetCounter(); uint32 realmId = realm.Id.Realm; const std::string currentIp = player->GetSession()->GetRemoteAddress(); std::string systemNote = "ERROR"; // "ERROR" is a placeholder here. We change it... @@ -240,7 +239,7 @@ class CharacterActionIpLogger : public PlayerScript LoginDatabasePreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_INS_CHAR_IP_LOGGING); stmt->setUInt32(0, playerGuid); - stmt->setUInt64(1, characterGuid); + stmt->setUInt64(1, player->GetGUID().GetCounter()); stmt->setUInt32(2, realmId); stmt->setUInt8(3, aType); stmt->setString(4, currentIp); // We query the ip here. -- cgit v1.2.3