1
0

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:
madmaxoft 2014-06-03 19:50:27 +02:00
parent 492f99eaeb
commit c0015d01c6

View File

@ -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() );