From 7ceb4426c7425ea7864e215eca39337d624c7a72 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 2 Feb 2018 22:39:46 -0500 Subject: m_dns: fix notify socket always being ipv6 --- modules/m_dns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/m_dns.cpp b/modules/m_dns.cpp index 2e0aa3f8f..1125fc04e 100644 --- a/modules/m_dns.cpp +++ b/modules/m_dns.cpp @@ -952,7 +952,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); } } -- cgit