From 7101e9626cf9a94ca37110b1ee1fd1c0b6258b91 Mon Sep 17 00:00:00 2001 From: Subv2112 Date: Mon, 9 Jan 2012 09:28:27 -0500 Subject: Scripts/Commands: Fixed an error with account set gmlevel, the gmRealmID can be signed Signed-off-by: Subv2112 --- src/server/scripts/Commands/cs_account.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Commands') 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); } -- cgit v1.2.3