mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Rename the services module config tag to <servicesintegration>.
This commit is contained in:
parent
06b938144b
commit
1407f00fa7
@ -2255,8 +2255,8 @@
|
||||
# #
|
||||
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
|
||||
#
|
||||
# <services accountoverrideshold="yes"
|
||||
# disablemodes="no">
|
||||
# <servicesintegration accountoverrideshold="yes"
|
||||
# disablemodes="no">
|
||||
|
||||
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
|
||||
# Sethost module: Adds the /SETHOST command.
|
||||
|
@ -36,7 +36,7 @@ public:
|
||||
RegisteredChannel(Module* Creator)
|
||||
: SimpleChannelMode(Creator, "c_registered", 'r')
|
||||
{
|
||||
if (ServerInstance->Config->ConfValue("services")->getBool("disablemodes"))
|
||||
if (ServerInstance->Config->ConfValue("servicesintegration")->getBool("disablemodes"))
|
||||
DisableAutoRegister();
|
||||
}
|
||||
|
||||
@ -60,7 +60,7 @@ public:
|
||||
RegisteredUser(Module* Creator)
|
||||
: SimpleUserMode(Creator, "u_registered", 'r')
|
||||
{
|
||||
if (ServerInstance->Config->ConfValue("services")->getBool("disablemodes"))
|
||||
if (ServerInstance->Config->ConfValue("servicesintegration")->getBool("disablemodes"))
|
||||
DisableAutoRegister();
|
||||
}
|
||||
|
||||
@ -229,7 +229,7 @@ public:
|
||||
|
||||
void ReadConfig(ConfigStatus& status) override
|
||||
{
|
||||
const auto& tag = ServerInstance->Config->ConfValue("services");
|
||||
const auto& tag = ServerInstance->Config->ConfValue("servicesintegration");
|
||||
accountoverrideshold = tag->getBool("accountoverrideshold");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user