*Cleaned up database queries - by XTZGZoReX

--HG--
branch : trunk
This commit is contained in:
Blaymoira committed 2009-01-04 17:20:23 +01:00
1 parent c4401376ab
commit c9f0d4292a
18 files changed
+123 -123

No files matched your search

+1 -1
View File
@@ -194,7 +194,7 @@ bool ChatHandler::HandleAccountOnlineListCommand(const char* args)
///- Get the username, last IP and GM level of each account
// No SQL injection. account is uint32.
// 0 1 2 3
QueryResult *resultLogin = loginDatabase.PQuery("SELECT username, last_ip, gmlevel, expansion FROM account WHERE id = '%u'",account);
QueryResult *resultLogin = LoginDatabase.PQuery("SELECT username, last_ip, gmlevel, expansion FROM account WHERE id = '%u'",account);
if(resultLogin)
{