diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/dns.cpp | 2 |
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); } } |