mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[8402] Optimalized guild_eventlog and guild_bank_eventlog loading from database.
Added config options to set count of eventlog records stored in DB. Attached SQL files will DROP existing and create new tables. Make sure you create backup (if you need old data). Renamed few variables in Guild class. Signed-off-by: Triply <triply@getmangos.com>
This commit is contained in:
parent
6c57a01507
commit
38fa6b241c
15 changed files with 463 additions and 368 deletions
|
|
@ -3210,7 +3210,7 @@ bool ChatHandler::HandleGuildCreateCommand(const char* args)
|
|||
}
|
||||
|
||||
Guild *guild = new Guild;
|
||||
if (!guild->create (target,guildname))
|
||||
if (!guild->Create (target,guildname))
|
||||
{
|
||||
delete guild;
|
||||
SendSysMessage (LANG_GUILD_NOT_CREATED);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue