|
@ -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; |
|
|