diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-10-02 10:50:28 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-10-02 10:50:28 +0200 |
| commit | 042a6985b1c5b95484c4e2db6890980e1f1b48d8 (patch) | |
| tree | 08823c736dde7b3efd1e1ab6ad1777f70f517bc7 /src/server/scripts/World | |
| parent | 76f868728b372e6037c3b224d3233d30d38249b3 (diff) | |
Core/Misc: Port more ObjectGuid refactors from master branch
Diffstat (limited to 'src/server/scripts/World')
| -rw-r--r-- | src/server/scripts/World/action_ip_logger.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/scripts/World/action_ip_logger.cpp b/src/server/scripts/World/action_ip_logger.cpp index 71550d2a800..c13e1720034 100644 --- a/src/server/scripts/World/action_ip_logger.cpp +++ b/src/server/scripts/World/action_ip_logger.cpp @@ -98,7 +98,6 @@ class AccountActionIpLogger : public AccountScript // We declare all the required variables uint32 playerGuid = accountId; - ObjectGuid::LowType characterGuid = 0; uint32 realmId = realm.Id.Realm; std::string systemNote = "ERROR"; // "ERROR" is a placeholder here. We change it later. @@ -144,7 +143,7 @@ class AccountActionIpLogger : public AccountScript LoginDatabasePreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_INS_ALDL_IP_LOGGING); stmt->setUInt32(0, playerGuid); - stmt->setUInt64(1, characterGuid); + stmt->setUInt64(1, 0); stmt->setUInt32(2, realmId); stmt->setUInt8(3, aType); stmt->setUInt32(4, playerGuid); @@ -156,7 +155,7 @@ class AccountActionIpLogger : public AccountScript LoginDatabasePreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_INS_FACL_IP_LOGGING); stmt->setUInt32(0, playerGuid); - stmt->setUInt64(1, characterGuid); + stmt->setUInt64(1, 0); stmt->setUInt32(2, realmId); stmt->setUInt8(3, aType); stmt->setUInt32(4, playerGuid); |
