aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_blockamsg.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-05-15 15:11:31 +0100
committerGravatar Sadie Powell2019-05-15 15:26:55 +0100
commit1d5b18de82a90317291a10acb3b9132324c0e98b (patch)
treebe49087463332fcb617dd88567afce5cea6eb8c6 /src/modules/m_blockamsg.cpp
parentMerge branch 'insp3' into master. (diff)
parentDocument the --disable-auto-extras configure option. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_blockamsg.cpp')
-rw-r--r--src/modules/m_blockamsg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp
index 2dcc0bf2c..b0621723a 100644
--- a/src/modules/m_blockamsg.cpp
+++ b/src/modules/m_blockamsg.cpp
@@ -60,7 +60,7 @@ class ModuleBlockAmsg : public Module
Version GetVersion() override
{
- return Version("Attempt to block /amsg, at least some of the irritating mIRC scripts.",VF_VENDOR);
+ return Version("Attempt to block /amsg or /ame, at least some of the irritating client scripts", VF_VENDOR);
}
void ReadConfig(ConfigStatus& status) override
@@ -120,12 +120,12 @@ class ModuleBlockAmsg : public Module
{
// Block it...
if (action == IBLOCK_KILLOPERS || action == IBLOCK_NOTICEOPERS)
- ServerInstance->SNO.WriteToSnoMask('a', "%s had an /amsg or /ame denied", user->nick.c_str());
+ ServerInstance->SNO.WriteToSnoMask('a', "%s had an /amsg or /ame blocked", user->nick.c_str());
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)
- user->WriteNotice("Global message (/amsg or /ame) denied");
+ user->WriteNotice("Global message (/amsg or /ame) blocked");
return MOD_RES_DENY;
}