summaryrefslogtreecommitdiff
path: root/src/scripts/Commands/cs_misc.cpp
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-08-26 00:22:24 +0200
committerYehonal <yehonal.azeroth@gmail.com>2017-08-26 00:22:24 +0200
commitb450ba35d86de2e6099146abdbf91d4640a10b95 (patch)
treec986768f8c33124cb6cafbabc94a886aece39419 /src/scripts/Commands/cs_misc.cpp
parent7277e4f00697fd48cfc86b85bbed5607b803368c (diff)
[CORE/Command] fixed wrong db worker for IP2NATION statement
Diffstat (limited to 'src/scripts/Commands/cs_misc.cpp')
-rw-r--r--src/scripts/Commands/cs_misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/Commands/cs_misc.cpp b/src/scripts/Commands/cs_misc.cpp
index 1af226c38e..0a58963834 100644
--- a/src/scripts/Commands/cs_misc.cpp
+++ b/src/scripts/Commands/cs_misc.cpp
@@ -1891,7 +1891,7 @@ public:
stmt->setUInt32(0, ip);
- PreparedQueryResult result2 = WorldDatabase.Query(stmt);
+ PreparedQueryResult result2 = LoginDatabase.Query(stmt);
if (result2)
{