mirror of
https://github.com/PretendoNetwork/Inkay.git
synced 2026-04-08 02:05:08 -05:00
fixup! feat(nncs): Add DNS patches for NNCS hook
Patches shouldn't do anything if not on the network, obvs
This commit is contained in:
parent
3bb9359da0
commit
283dba27a6
|
|
@ -14,7 +14,7 @@ const std::pair<const char *, const char *> dns_replacements[] = {
|
|||
static const char * replace_dns_name(const char *dns_name) {
|
||||
DEBUG_FUNCTION_LINE("DNS request for %s", dns_name);
|
||||
|
||||
// if (!Config::connect_to_network) return dns_name;
|
||||
if (!Config::connect_to_network) return dns_name;
|
||||
|
||||
for (auto [original, replacement] : dns_replacements) {
|
||||
if (strcmp(original, dns_name) == 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user