Core/Commands: Remove all active bans before adding new one, prevents multiple active bans for one character/account
Core/DBLayer: Converted most of ban related queries into prepared statement (might have missed some) Closes issue #4218. --HG-- branch : trunk
This commit is contained in:
1 parent
53f42d9511
commit
665e7a06ce
5 files changed
+63
-26
No files matched your search
@@ -102,6 +102,7 @@ enum CharacterDatabaseStatements
|
||||
CHAR_ADD_ITEM_BOP_TRADE,
|
||||
CHAR_DEL_INVENTORY_ITEM,
|
||||
CHAR_DEL_ITEM_INSTANCE,
|
||||
CHAR_GET_ACCOUNT_BY_NAME,
|
||||
MAX_CHARACTERDATABASE_STATEMENTS,
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user