summaryrefslogtreecommitdiff
path: root/src/commands/cmd_dns.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-12-18 16:20:40 +0100
committerAttila Molnar <attilamolnar@hush.com>2013-12-18 16:20:40 +0100
commit1e8389b27ff99ad9f48c890486ebef936acafc41 (patch)
tree44543c79a89509604d2fa7b910c278476b9a0eba /src/commands/cmd_dns.cpp
parent0680b529874b701b20650586d8466a155d9ba0d5 (diff)
Clean up CoreException
- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
Diffstat (limited to 'src/commands/cmd_dns.cpp')
-rw-r--r--src/commands/cmd_dns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_dns.cpp b/src/commands/cmd_dns.cpp
index f9ec8e990..07ade381a 100644
--- a/src/commands/cmd_dns.cpp
+++ b/src/commands/cmd_dns.cpp
@@ -580,7 +580,7 @@ class MyManager : public Manager, public Timer, public EventHandler
}
catch (Exception& ex)
{
- ServerInstance->Logs->Log("RESOLVER", LOG_DEBUG, std::string(ex.GetReason()));
+ ServerInstance->Logs->Log(MODNAME, LOG_DEBUG, ex.GetReason());
return;
}