diff options
| author | 2023-07-02 18:12:34 +0100 | |
|---|---|---|
| committer | 2023-07-03 11:32:57 +0100 | |
| commit | 964ee65cfb1f6fbc1b85e469adbfaeeef367d410 (patch) | |
| tree | f4db9ce0246c71bcbe12355fed4cc5af16198792 /src/modules | |
| parent | Fix 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.cpp | 4 |
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); |
