Core/Misc: Remove trailing whitespace, compile warnings and minor cosmetic changes

This commit is contained in:
Spp committed 2013-05-21 08:37:28 +02:00
1 parent d3c2af0f66
commit 00c1168897
24 files changed
+95 -95

No files matched your search

+2 -2
View File
@@ -320,7 +320,7 @@ public:
// check online security
if (handler->HasLowerSecurity(target, 0))
return false;
playerOldName = target->GetName();
}
else
@@ -345,7 +345,7 @@ public:
handler->SetSentErrorMessage(true);
return false;
}
if (WorldSession* session = handler->GetSession())
{
if (!session->HasPermission(RBAC_PERM_SKIP_CHECK_CHARACTER_CREATION_RESERVEDNAME) && sObjectMgr->IsReservedName(newName))