summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2018-02-02 22:41:29 -0500
committerGitHub <noreply@github.com>2018-02-02 22:41:29 -0500
commitaf8aed278efcf6d9e04f4863e0fdbf3d261a2e78 (patch)
tree9e0c5cd4ea072842bc33d1b4222ffb059191ef70
parentba2bd6e45c2a5f5d80ab3ea52535f889b50b3f39 (diff)
parentcaead4f4db57c2681ef8748782379da229adaf1b (diff)
Merge pull request #209 from nomis/NotifySocket_warning
modules/dns: NotifySocket takes a bool parameter, not int address family
-rw-r--r--modules/dns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dns.cpp b/modules/dns.cpp
index 34d68e3da..5e7f3a354 100644
--- a/modules/dns.cpp
+++ b/modules/dns.cpp
@@ -976,7 +976,7 @@ class MyManager : public Manager, public Timer
packet->questions.push_back(Question(zone, QUERY_SOA));
- new NotifySocket(ip.find(':') != Anope::string::npos ? AF_INET6 : AF_INET, packet);
+ new NotifySocket(ip.find(':') != Anope::string::npos, packet);
}
}