diff options
author | madmaxoft <github@xoft.cz> | 2013-10-06 15:44:14 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-06 15:44:14 +0200 |
commit | dabbf24f587d6c946b84620fb6a86e9b587a23b8 (patch) | |
tree | 7615b6f1c6030b15a67528e84d9740639adbd344 /source/GroupManager.cpp | |
parent | Removed remnants of the old webserver. (diff) | |
parent | APIDump: Brought cItem docs up-to-date. (diff) | |
download | cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.gz cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.bz2 cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.lz cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.xz cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.zst cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.zip |
Diffstat (limited to 'source/GroupManager.cpp')
-rw-r--r-- | source/GroupManager.cpp | 8 |
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 --"); } |