Crash fixes oh my

This commit is contained in:
KimLS
2014-08-28 03:47:28 -07:00
parent 467afc86af
commit ca84040a39
4 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ uint32 Database::CheckLogin(const char* name, const char* password, int16* oStat
return 0;
}
if(results.RowCount() < 1)
if(results.RowCount() == 0)
return 0;
auto row = results.begin();