mirror of
https://github.com/anope/anope.git
synced 2026-07-10 12:23:14 +02:00
Fix the name of the DNS record config option for the previous commit.
This commit is contained in:
@@ -203,7 +203,7 @@ module
|
||||
* If DNS validation is enabled, the TXT record to look for when determining
|
||||
* if the requester controls the domain. Defaults to anope-dns-validation.
|
||||
*/
|
||||
#validationcooldown = "anope-dns-validation"
|
||||
#validationrecord = "anope-dns-validation"
|
||||
}
|
||||
command { service = "HostServ"; name = "REQUEST"; command = "hostserv/request"; }
|
||||
command { service = "HostServ"; name = "ACTIVATE"; command = "hostserv/activate"; permission = "hostserv/set"; }
|
||||
|
||||
@@ -582,7 +582,7 @@ public:
|
||||
{
|
||||
const auto &block = conf.GetModule(this);
|
||||
commandhsvalidate.cooldown = block.Get<time_t>("validationcooldown", "5m");
|
||||
validation_record = block.Get<const Anope::string>("dnsrecord", "anope-dns-validation");
|
||||
validation_record = block.Get<const Anope::string>("validationrecord", "anope-dns-validation");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user