diff options
| author | 2022-01-09 14:38:01 +0000 | |
|---|---|---|
| committer | 2022-01-09 14:38:01 +0000 | |
| commit | dbfcc74e23067a1cc2ceb3bccfff9e8868947419 (patch) | |
| tree | c32f081119846966face3d36f6bb1af8ce4a2b9b /src/modules/m_dnsbl.cpp | |
| parent | Replace some references to "SSL" that snuck in during the merge. (diff) | |
Always catch exceptions as a constant reference.
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 db9c2ed01..c0b8cde86 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -447,7 +447,7 @@ class ModuleDNSBL final { this->DNS->Process(r); } - catch (DNS::Exception &ex) + catch (const DNS::Exception& ex) { delete r; ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, ex.GetReason()); |
