Server-side HandleCharacterDelete()

This commit is contained in:
Kayne Ruse
2014-12-02 23:41:08 +11:00
parent 0e666d3203
commit 5607f76ce7
2 changed files with 43 additions and 35 deletions
+2
View File
@@ -110,6 +110,8 @@ int CharacterManager::Load(int owner, std::string handle, std::string avatar) {
//check the owner
if (owner != sqlite3_column_int(statement, 1)) {
sqlite3_finalize(statement);
//unload the already loaded character
Unload(uid);
return -2;
}