From a6c089111846b1d54a35bddbd1bf8cc81c6e45da Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 26 Dec 2025 14:32:52 +0000 Subject: Include more user information in the blockamsg notice. --- src/modules/m_blockamsg.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp index bb502267d..2dfb0172e 100644 --- a/src/modules/m_blockamsg.cpp +++ b/src/modules/m_blockamsg.cpp @@ -125,8 +125,10 @@ public: { // Block it... if (action == IBLOCK_KILLOPERS || action == IBLOCK_NOTICEOPERS) - ServerInstance->SNO.WriteToSnoMask('a', "{} had an /amsg or /ame blocked", user->nick); - + { + ServerInstance->SNO.WriteToSnoMask('a', "User {} ({}) had an /amsg or /ame blocked", + user->GetRealMask(), user->GetAddress()); + } if (action == IBLOCK_KILL || action == IBLOCK_KILLOPERS) ServerInstance->Users.QuitUser(user, "Attempted to global message (/amsg or /ame)"); else if (action == IBLOCK_NOTICE || action == IBLOCK_NOTICEOPERS) -- cgit v1.3.1-10-gc9f91