aboutsummaryrefslogtreecommitdiff
path: root/src/game/PetitionsHandler.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-24 19:23:31 -0500
committermegamage <none@none>2009-08-24 19:23:31 -0500
commit6e8009446dd364fada37152e347216a4c1718dd9 (patch)
tree5cce0b97bc86f3687048c1758896f97545920c79 /src/game/PetitionsHandler.cpp
parentab8b1d803905d5ac6b9f16bbc810cf9a7e179a27 (diff)
[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> *Note: existing guild bank log will be removed. --HG-- branch : trunk
Diffstat (limited to 'src/game/PetitionsHandler.cpp')
-rw-r--r--src/game/PetitionsHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/PetitionsHandler.cpp b/src/game/PetitionsHandler.cpp
index 1fec73b1a28..fe719b1b671 100644
--- a/src/game/PetitionsHandler.cpp
+++ b/src/game/PetitionsHandler.cpp
@@ -807,7 +807,7 @@ void WorldSession::HandleTurnInPetitionOpcode(WorldPacket & recv_data)
if(type == 9) // create guild
{
Guild* guild = new Guild;
- if(!guild->create(_player, name))
+ if(!guild->Create(_player, name))
{
delete guild;
delete result;