summaryrefslogtreecommitdiffstats
path: root/source/GroupManager.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-10-01 11:40:13 +0200
committerMattes D <github@xoft.cz>2013-10-01 11:40:13 +0200
commitba8152608f1ce93ec3baf0a9f284448dfa9f5d69 (patch)
tree327fb6d1a087c913b757ba01ab5d6720c220f2f9 /source/GroupManager.cpp
parentMerge pull request #199 from tigerw/moar-bugfixes (diff)
parentRemoved unneeded statement (diff)
downloadcuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.tar
cuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.tar.gz
cuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.tar.bz2
cuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.tar.lz
cuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.tar.xz
cuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.tar.zst
cuberite-ba8152608f1ce93ec3baf0a9f284448dfa9f5d69.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 --");
}