diff options
| author | 2017-08-06 21:24:30 +0100 | |
|---|---|---|
| committer | 2017-08-06 21:24:30 +0100 | |
| commit | 6de3017e2cda445bfd9e6b460a35eae7fc199148 (patch) | |
| tree | 510ff17fb08d589cc6a096173a88dd45fe0f5a61 /src/modules/m_dnsbl.cpp | |
| parent | Merge pull request #1351 from SaberUK/master+webirc (diff) | |
| parent | Purge code for Windows XP and MSVC pre-2015. (diff) | |
| download | inspircd++-6de3017e2cda445bfd9e6b460a35eae7fc199148.tar.gz inspircd++-6de3017e2cda445bfd9e6b460a35eae7fc199148.tar.bz2 inspircd++-6de3017e2cda445bfd9e6b460a35eae7fc199148.zip | |
Merge pull request #1141 from SaberUK/master+windows-purge
Purge code for Windows XP and MSVC pre-2015.
Diffstat (limited to 'src/modules/m_dnsbl.cpp')
| -rw-r--r-- | src/modules/m_dnsbl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index 752a0d7a5..b2b9c30ff 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -88,7 +88,7 @@ class DNSBLResolver : public DNS::Request bool match = false; in_addr resultip; - inet_aton(ans_record->rdata.c_str(), &resultip); + inet_pton(AF_INET, ans_record->rdata.c_str(), &resultip); switch (ConfEntry->type) { |
