Player permissions aren't logged to console anymore.
This was only logspam on most servers and there are alternative ways to list players' permissions.
This commit is contained in:
parent
492f99eaeb
commit
c0015d01c6
@ -1650,13 +1650,6 @@ bool cPlayer::LoadFromDisk()
|
|||||||
{
|
{
|
||||||
LoadPermissionsFromDisk();
|
LoadPermissionsFromDisk();
|
||||||
|
|
||||||
// Log player permissions, cause it's what the cool kids do
|
|
||||||
LOGINFO("Player %s has permissions:", GetName().c_str() );
|
|
||||||
for( PermissionMap::iterator itr = m_ResolvedPermissions.begin(); itr != m_ResolvedPermissions.end(); ++itr )
|
|
||||||
{
|
|
||||||
if( itr->second ) LOG(" - %s", itr->first.c_str() );
|
|
||||||
}
|
|
||||||
|
|
||||||
AString SourceFile;
|
AString SourceFile;
|
||||||
Printf(SourceFile, "players/%s.json", GetName().c_str() );
|
Printf(SourceFile, "players/%s.json", GetName().c_str() );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user