diff options
author | Subv2112 <s.v.h21@hotmail.com> | 2012-01-09 09:28:27 -0500 |
---|---|---|
committer | Subv2112 <s.v.h21@hotmail.com> | 2012-01-09 09:28:27 -0500 |
commit | 7101e9626cf9a94ca37110b1ee1fd1c0b6258b91 (patch) | |
tree | 6b17f7311b92d6169e91e2a6ec3548761a33afa4 /src | |
parent | 10b7eb42d23b9f34de78f9d3ac1c70c0a6687e93 (diff) |
Scripts/Commands: Fixed an error with account set gmlevel, the gmRealmID can be signed
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Commands/cs_account.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_account.cpp b/src/server/scripts/Commands/cs_account.cpp index ac265acbf71..7372c92c4dd 100644 --- a/src/server/scripts/Commands/cs_account.cpp +++ b/src/server/scripts/Commands/cs_account.cpp @@ -510,7 +510,7 @@ public: stmt->setUInt32(0, targetAccountId); stmt->setUInt8(1, uint8(gm)); - stmt->setUInt32(2, gmRealmID); + stmt->setInt32(2, gmRealmID); LoginDatabase.Execute(stmt); } |