diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-02-21 15:10:31 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-02-21 15:10:31 +0100 |
commit | 3777873f22b8a19ed282be076357d5b3c2eb43ee (patch) | |
tree | 891e360c9e1f996ab247a67fffb2714b87643312 | |
parent | Remove old Output Finish (diff) | |
download | cuberite-3777873f22b8a19ed282be076357d5b3c2eb43ee.tar cuberite-3777873f22b8a19ed282be076357d5b3c2eb43ee.tar.gz cuberite-3777873f22b8a19ed282be076357d5b3c2eb43ee.tar.bz2 cuberite-3777873f22b8a19ed282be076357d5b3c2eb43ee.tar.lz cuberite-3777873f22b8a19ed282be076357d5b3c2eb43ee.tar.xz cuberite-3777873f22b8a19ed282be076357d5b3c2eb43ee.tar.zst cuberite-3777873f22b8a19ed282be076357d5b3c2eb43ee.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 7a3aaf568..19173592e 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1545,12 +1545,7 @@ void cPlayer::LoadPermissionsFromDisk() } else { - LOGWARN("Regenerating users.ini, player %s will be added to the \"Default\" group", m_PlayerName.c_str()); - IniFile.AddHeaderComment(" This is the file in which the group the player belongs to is stored"); - IniFile.AddHeaderComment(" The format is: [PlayerName] | Groups=GroupName"); - - IniFile.SetValue(m_PlayerName, "Groups", "Default"); - IniFile.WriteFile("users.ini"); + cRoot::Get()->GetGroupManager()->CheckUsers(); AddToGroup("Default"); } ResolvePermissions(); |