Core/Misc: Remove trailing whitespace, compile warnings and minor cosmetic changes
This commit is contained in:
1 parent
d3c2af0f66
commit
00c1168897
24 files changed
+95
-95
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user