diff options
| author | 2022-04-05 22:57:14 +0100 | |
|---|---|---|
| committer | 2022-04-05 22:57:39 +0100 | |
| commit | ddf306850efb9e4059ecb0506b073b3af4d79dca (patch) | |
| tree | 2c7ee2d51ef7532515ae3fb6cb349c3986d2038a /src/modules/m_dnsbl.cpp | |
| parent | Fix some more grammar errors in xline messages. (diff) | |
Include the module name in the setter for server-added xlines.
Diffstat (limited to 'src/modules/m_dnsbl.cpp')
| -rw-r--r-- | src/modules/m_dnsbl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index 6cfadff59..35b750e97 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -181,7 +181,7 @@ class DNSBLResolver : public DNS::Request } case DNSBLConfEntry::I_KLINE: { - KLine* kl = new KLine(ServerInstance->Time(), ConfEntry->duration, ServerInstance->Config->ServerName.c_str(), reason.c_str(), + KLine* kl = new KLine(ServerInstance->Time(), ConfEntry->duration, MODNAME "@" + ServerInstance->Config->ServerName, reason, them->GetBanIdent(), them->GetIPString()); if (ServerInstance->XLines->AddLine(kl,NULL)) { @@ -199,7 +199,7 @@ class DNSBLResolver : public DNS::Request } case DNSBLConfEntry::I_GLINE: { - GLine* gl = new GLine(ServerInstance->Time(), ConfEntry->duration, ServerInstance->Config->ServerName.c_str(), reason.c_str(), + GLine* gl = new GLine(ServerInstance->Time(), ConfEntry->duration, MODNAME "@" + ServerInstance->Config->ServerName, reason, them->GetBanIdent(), them->GetIPString()); if (ServerInstance->XLines->AddLine(gl,NULL)) { @@ -217,7 +217,7 @@ class DNSBLResolver : public DNS::Request } case DNSBLConfEntry::I_ZLINE: { - ZLine* zl = new ZLine(ServerInstance->Time(), ConfEntry->duration, ServerInstance->Config->ServerName.c_str(), reason.c_str(), + ZLine* zl = new ZLine(ServerInstance->Time(), ConfEntry->duration, MODNAME "@" + ServerInstance->Config->ServerName, reason, them->GetIPString()); if (ServerInstance->XLines->AddLine(zl,NULL)) { |
