aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-07-02 18:12:34 +0100
committerGravatar Sadie Powell2023-07-03 11:32:57 +0100
commit964ee65cfb1f6fbc1b85e469adbfaeeef367d410 (patch)
treef4db9ce0246c71bcbe12355fed4cc5af16198792 /src/modules
parentFix shun matching (again) and document what the matches do. (diff)
Tell a marked user that their user@host was changed AFTER changing it.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_dnsbl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp
index 43c5fda8c..4a397557a 100644
--- a/src/modules/m_dnsbl.cpp
+++ b/src/modules/m_dnsbl.cpp
@@ -541,14 +541,14 @@ public:
{
if (!ih->user.empty())
{
- user->WriteNotice("Your username has been set to " + ih->user + " because you matched " + ih->reason);
user->ChangeDisplayedUser(ih->user);
+ user->WriteNotice("Your username has been set to " + ih->user + ": " + ih->reason);
}
if (!ih->host.empty())
{
- user->WriteNotice("Your hostname has been set to " + ih->host + " because you matched " + ih->reason);
user->ChangeDisplayedHost(ih->host);
+ user->WriteNotice("Your hostname has been set to " + ih->host + ": " + ih->reason);
}
data.maskext.Unset(user);