mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 12:57:16 +00:00
Crash fixes
This commit is contained in:
1 parent
6597967acd
commit
19271f90a4
2 files changed
+9
-2
No files matched your search
@@ -161,6 +161,9 @@ uint32 Database::CheckLogin(const char* name, const char* password, int16* oStat
|
||||
return 0;
|
||||
}
|
||||
|
||||
if(results.RowCount() < 1)
|
||||
return 0;
|
||||
|
||||
auto row = results.begin();
|
||||
|
||||
uint32 id = atoi(row[0]);
|
||||
|
||||
Reference in new issue
Block a user