From 2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 Mon Sep 17 00:00:00 2001 From: Spp Date: Wed, 7 Apr 2010 23:25:02 +0200 Subject: Code Style (game + scripts only): "==" --> " == " (when needed) --HG-- branch : trunk --- src/game/PetitionsHandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/PetitionsHandler.cpp') diff --git a/src/game/PetitionsHandler.cpp b/src/game/PetitionsHandler.cpp index 74e9af8b893..95a1e0beb87 100644 --- a/src/game/PetitionsHandler.cpp +++ b/src/game/PetitionsHandler.cpp @@ -256,12 +256,12 @@ void WorldSession::HandlePetitionShowSignOpcode(WorldPacket & recv_data) uint32 type = fields[0].GetUInt32(); // if guild petition and has guild => error, return; - if (type==9 && _player->GetGuildId()) + if (type == 9 && _player->GetGuildId()) return; result = CharacterDatabase.PQuery("SELECT playerguid FROM petition_sign WHERE petitionguid = '%u'", petitionguid_low); - // result==NULL also correct in case no sign yet + // result == NULL also correct in case no sign yet if (result) signs = result->GetRowCount(); @@ -662,7 +662,7 @@ void WorldSession::HandleOfferPetitionOpcode(WorldPacket & recv_data) } result = CharacterDatabase.PQuery("SELECT playerguid FROM petition_sign WHERE petitionguid = '%u'", GUID_LOPART(petitionguid)); - // result==NULL also correct charter without signs + // result == NULL also correct charter without signs if (result) signs = result->GetRowCount(); -- cgit v1.2.3