From f85908869986eab0b645f0a697028bcceba7778c Mon Sep 17 00:00:00 2001 From: Nay Date: Fri, 3 Aug 2012 00:20:44 +0100 Subject: Core/Misc: Fix code style and a typo for recently merged in PRs --- src/server/scripts/Commands/cs_disable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Commands') diff --git a/src/server/scripts/Commands/cs_disable.cpp b/src/server/scripts/Commands/cs_disable.cpp index d3475ac10ae..c537f9a972b 100644 --- a/src/server/scripts/Commands/cs_disable.cpp +++ b/src/server/scripts/Commands/cs_disable.cpp @@ -124,7 +124,7 @@ public: PreparedStatement* stmt2 = WorldDatabase.GetPreparedStatement(WORLD_INS_DISABLES); stmt2->setUInt32(0, entry); stmt2->setUInt8(1, disableType); - stmt->setUInt16(2, flags); + stmt2->setUInt16(2, flags); stmt2->setString(3, disableComment); WorldDatabase.Execute(stmt2); -- cgit v1.2.3