Fix delete statement

This commit is contained in:
Michael Cook (mackal) 2015-06-08 02:08:32 -04:00
parent 6229b90451
commit 226bb4f3b2

View File

@ -564,7 +564,7 @@ bool Client::SaveAA(){
}
auto results = database.QueryDatabase(rquery);
/* This is another part of the hack to clean up holes left by expendable AAs */
rquery = StringFormat("DELETE FROM `character_alternate_abilities` WHERE `id` = %u AND `slot` >= %d", character_id, highest);
rquery = StringFormat("DELETE FROM `character_alternate_abilities` WHERE `id` = %u AND `slot` > %d", character_id, highest);
return true;
}