summaryrefslogtreecommitdiffstats
path: root/source/GroupManager.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-28 21:36:01 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-28 21:36:01 +0200
commitcc5c56d545c0735d28a99b89d4970bd507608f7f (patch)
treed7d803c788aff3d53935d8ef9ac01b70a3dbe922 /source/GroupManager.cpp
parentMerge pull request #2 from tigerw/bugfixes (diff)
downloadcuberite-cc5c56d545c0735d28a99b89d4970bd507608f7f.tar
cuberite-cc5c56d545c0735d28a99b89d4970bd507608f7f.tar.gz
cuberite-cc5c56d545c0735d28a99b89d4970bd507608f7f.tar.bz2
cuberite-cc5c56d545c0735d28a99b89d4970bd507608f7f.tar.lz
cuberite-cc5c56d545c0735d28a99b89d4970bd507608f7f.tar.xz
cuberite-cc5c56d545c0735d28a99b89d4970bd507608f7f.tar.zst
cuberite-cc5c56d545c0735d28a99b89d4970bd507608f7f.zip
Diffstat (limited to '')
-rw-r--r--source/GroupManager.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/GroupManager.cpp b/source/GroupManager.cpp
index cef32dd58..b79fde9dc 100644
--- a/source/GroupManager.cpp
+++ b/source/GroupManager.cpp
@@ -43,7 +43,7 @@ cGroupManager::~cGroupManager()
cGroupManager::cGroupManager()
: m_pState( new sGroupManagerState )
{
- LOG("-- Loading Groups --");
+ LOGD("-- Loading Groups --");
cIniFile IniFile("groups.ini");
if (!IniFile.ReadFile())
{
@@ -57,7 +57,7 @@ cGroupManager::cGroupManager()
std::string KeyName = IniFile.GetKeyName( i );
cGroup* Group = GetGroup( KeyName.c_str() );
- LOG("Loading group: %s", KeyName.c_str() );
+ LOGD("Loading group: %s", KeyName.c_str() );
Group->SetName( KeyName );
char Color = IniFile.GetValue( KeyName, "Color", "-" )[0];
@@ -73,7 +73,6 @@ cGroupManager::cGroupManager()
for( unsigned int i = 0; i < Split.size(); i++)
{
Group->AddCommand( Split[i] );
- //LOG("%s", Split[i].c_str() );
}
}
@@ -84,7 +83,6 @@ cGroupManager::cGroupManager()
for( unsigned int i = 0; i < Split.size(); i++)
{
Group->AddPermission( Split[i] );
- //LOGINFO("Permission: %s", Split[i].c_str() );
}
}
@@ -98,7 +96,7 @@ cGroupManager::cGroupManager()
}
}
}
- LOG("-- Groups Successfully Loaded --");
+ LOGD("-- Groups Successfully Loaded --");
}