mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 21:56:22 +00:00
chore(core): remove malformed whitespaces (#4244)
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
This commit is contained in:
@@ -198,7 +198,6 @@ BanReturn BanManager::BanIP(std::string const& IP, std::string const& Duration,
|
||||
if (WorldSession* session = sWorld->FindOfflineSession(AccountID))
|
||||
if (session->GetPlayerName() != Author)
|
||||
session->KickPlayer("Ban IP at condition 'FindOfflineSession(account)->GetPlayerName() != author'");
|
||||
|
||||
} while (resultAccounts->NextRow());
|
||||
|
||||
LoginDatabase.CommitTransaction(trans);
|
||||
|
||||
@@ -19,7 +19,6 @@ enum BanReturn
|
||||
class BanManager
|
||||
{
|
||||
public:
|
||||
|
||||
static BanManager* instance();
|
||||
|
||||
BanReturn BanAccount(std::string const& AccountName, std::string const& Duration, std::string const& Reason, std::string const& Author);
|
||||
|
||||
@@ -50,7 +50,6 @@ void Graveyard::LoadGraveyardFromDB()
|
||||
_graveyardStore[ID] = Graveyard;
|
||||
|
||||
++Count;
|
||||
|
||||
} while (result->NextRow());
|
||||
|
||||
sLog->outString(">> Loaded %i graveyard in %u ms", Count, GetMSTimeDiffToNow(oldMSTime));
|
||||
@@ -347,7 +346,6 @@ void Graveyard::LoadGraveyardZones()
|
||||
|
||||
if (!AddGraveyardLink(safeLocId, zoneId, teamId, false))
|
||||
sLog->outErrorDb("Table `graveyard_zone` has a duplicate record for Graveyard (ID: %u) and Zone (ID: %u), skipped.", safeLocId, zoneId);
|
||||
|
||||
} while (result->NextRow());
|
||||
|
||||
sLog->outString(">> Loaded %u graveyard-zone links in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
|
||||
@@ -44,7 +44,6 @@ public:
|
||||
void LoadGraveyardFromDB();
|
||||
|
||||
private:
|
||||
|
||||
GraveyardContainer _graveyardStore;
|
||||
|
||||
// for wintergrasp only
|
||||
|
||||
Reference in New Issue
Block a user