diff options
author | Adam <Adam@anope.org> | 2018-02-02 22:39:46 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2018-02-02 22:39:46 -0500 |
commit | 7ceb4426c7425ea7864e215eca39337d624c7a72 (patch) | |
tree | 62393af7fb75454126431ef6ce5f2d0c22d0e40b /modules/m_dns.cpp | |
parent | b3c4b28a674863580f3f5f655f217b4a61ffd361 (diff) |
m_dns: fix notify socket always being ipv6
Diffstat (limited to 'modules/m_dns.cpp')
-rw-r--r-- | modules/m_dns.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |