diff --git a/src/game/Warden/Warden.cpp b/src/game/Warden/Warden.cpp index 28969c2f..470ae96f 100644 --- a/src/game/Warden/Warden.cpp +++ b/src/game/Warden/Warden.cpp @@ -299,7 +299,7 @@ void Warden::LogPositiveToDB(WardenCheck* check) SqlStatement stmt = LoginDatabase.CreateStatement(insWardenPositive, "INSERT INTO warden_log (`check`, `action`, `account`, `guid`, `map`, `position_x`, `position_y`, `position_z`) VALUES (?, ?, ?, ?, ?, ?, ?, ?)"); - stmt.addUInt8(check->CheckId); + stmt.addUInt16(check->CheckId); stmt.addInt8(check->Action); stmt.addUInt32(_session->GetAccountId()); if (Player* pl = _session->GetPlayer()) diff --git a/src/shared/revision.h b/src/shared/revision.h index 2a1a02b7..13d99f60 100644 --- a/src/shared/revision.h +++ b/src/shared/revision.h @@ -27,5 +27,5 @@ #define REVISION_NR "21000" #define REVISION_DB_CHARACTERS "required_21000_01_warden_action" #define REVISION_DB_MANGOS "required_21000_08_warden_checks" -#define REVISION_DB_REALMD "required_20150412_auth_realmlist" +#define REVISION_DB_REALMD "required_20150420_warden_db_log" #endif // __REVISION_H__