summaryrefslogtreecommitdiff
path: root/src/dns.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-21 23:20:48 -0400
committerAdam <Adam@anope.org>2010-10-21 23:20:48 -0400
commit791c2b89a5b09d3e3e3785669b29438ffec26295 (patch)
tree60a4647572e80d5f037fe2d9e49338a34cc0d6ea /src/dns.cpp
parent4f317a242104b623d2e5257bc672fd56c0240a0e (diff)
Changed the log:normal config directive to a list like the other log values, and fixed a potential crash from rehashing while sending mail
Diffstat (limited to 'src/dns.cpp')
-rw-r--r--src/dns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index ffd34e669..adedf9e61 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -220,7 +220,7 @@ DNSSocket::~DNSSocket()
for (unsigned i = DNSEngine->packets.size(); i > 0; --i)
delete DNSEngine->packets[i - 1];
DNSEngine->packets.clear();
- Log() << "Resolver: Lost connection to nameserver";
+ Log(LOG_NORMAL, "dns") << "Resolver: Lost connection to nameserver";
DNSEngine->sock = NULL;
}