Compare commits

...

2 Commits

  1. 2
      src/Jupiter
  2. 18
      src/Plugins/RenX/RenX.ModSystem/RenX_ModSystem.cpp

2
src/Jupiter

@ -1 +1 @@
Subproject commit 230a341ee585b42db26f7b3da225b0236598ccee Subproject commit e31e59dde3e4ce4f3d387028b882212079b03484

18
src/Plugins/RenX/RenX.ModSystem/RenX_ModSystem.cpp

@ -64,39 +64,39 @@ bool RenX_ModSystemPlugin::initialize() {
groupName += dotLockSteam; groupName += dotLockSteam;
group->lockSteam = this->config.get<bool>(groupName, m_lockSteam); group->lockSteam = this->config.get<bool>(groupName, m_lockSteam);
groupName.erase(dotLockSteam.size()); groupName.erase(groupName.size() - dotLockSteam.size());
groupName += dotLockIP; groupName += dotLockIP;
group->lockIP = this->config.get<bool>(groupName, m_lockIP); group->lockIP = this->config.get<bool>(groupName, m_lockIP);
groupName.erase(dotLockIP.size()); groupName.erase(groupName.size() - dotLockIP.size());
groupName += dotLockName; groupName += dotLockName;
group->lockName = this->config.get<bool>(groupName, m_lockName); group->lockName = this->config.get<bool>(groupName, m_lockName);
groupName.erase(dotLockName.size()); groupName.erase(groupName.size() - dotLockName.size());
groupName += dotKickLockMismatch; groupName += dotKickLockMismatch;
group->kickLockMismatch = this->config.get<bool>(groupName, m_kickLockMismatch); group->kickLockMismatch = this->config.get<bool>(groupName, m_kickLockMismatch);
groupName.erase(dotKickLockMismatch.size()); groupName.erase(groupName.size() - dotKickLockMismatch.size());
groupName += dotAutoAuthSteam; groupName += dotAutoAuthSteam;
group->autoAuthSteam = this->config.get<bool>(groupName, m_autoAuthSteam); group->autoAuthSteam = this->config.get<bool>(groupName, m_autoAuthSteam);
groupName.erase(dotAutoAuthSteam.size()); groupName.erase(groupName.size() - dotAutoAuthSteam.size());
groupName += dotAutoAuthIP; groupName += dotAutoAuthIP;
group->autoAuthIP = this->config.get<bool>(groupName, m_autoAuthIP); group->autoAuthIP = this->config.get<bool>(groupName, m_autoAuthIP);
groupName.erase(dotAutoAuthIP.size()); groupName.erase(groupName.size() - dotAutoAuthIP.size());
groupName += dotAccess; groupName += dotAccess;
group->access = this->config.get<int>(groupName); group->access = this->config.get<int>(groupName);
groupName.erase(dotAccess.size()); groupName.erase(groupName.size() - dotAccess.size());
groupName += dotPrefix; groupName += dotPrefix;
group->prefix = this->config.get(groupName); group->prefix = this->config.get(groupName);
groupName.erase(dotPrefix.size()); groupName.erase(groupName.size() - dotPrefix.size());
groupName += dotGamePrefix; groupName += dotGamePrefix;
group->gamePrefix = this->config.get(groupName); group->gamePrefix = this->config.get(groupName);
groupName.erase(dotGamePrefix.size()); groupName.erase(groupName.size() - dotGamePrefix.size());
// Next // Next
groupName += dotNext; groupName += dotNext;

Loading…
Cancel
Save