aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Commands
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2012-08-03 00:20:44 +0100
committerNay <dnpd.dd@gmail.com>2012-08-03 00:20:44 +0100
commitf85908869986eab0b645f0a697028bcceba7778c (patch)
tree01d81d0a2c8656e864c4d5a7a65409e49589b08b /src/server/scripts/Commands
parent2060a2037a9d03318c2cdcd791821f7b58a19ea5 (diff)
Core/Misc: Fix code style and a typo for recently merged in PRs
Diffstat (limited to 'src/server/scripts/Commands')
-rw-r--r--src/server/scripts/Commands/cs_disable.cpp2
1 files changed, 1 insertions, 1 deletions
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);