summaryrefslogtreecommitdiff
path: root/src/modules/m_remove.cpp
diff options
context:
space:
mode:
authorRobby <Robby-@users.noreply.github.com>2019-04-28 10:14:21 +0200
committerPeter Powell <petpow@saberuk.com>2019-04-28 09:14:21 +0100
commite57d1b19ff4823b7885eb7f4d3b37c84d2edca0e (patch)
tree81e3825243464f332742b7e945053d32d726808b /src/modules/m_remove.cpp
parent2533dc10f987eedb99d780c7debd948f22705679 (diff)
Textual improvements and fixes such as typos, casing, etc. (#1612)
Diffstat (limited to 'src/modules/m_remove.cpp')
-rw-r--r--src/modules/m_remove.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp
index 357b2ea41..e23914246 100644
--- a/src/modules/m_remove.cpp
+++ b/src/modules/m_remove.cpp
@@ -87,13 +87,13 @@ class RemoveBase : public Command
if (!channel->HasUser(target))
{
- user->WriteNotice(InspIRCd::Format("*** The user %s is not on channel %s", target->nick.c_str(), channel->name.c_str()));
+ user->WriteNotice(InspIRCd::Format("*** User %s is not on channel %s", target->nick.c_str(), channel->name.c_str()));
return CMD_FAILURE;
}
if (target->server->IsULine())
{
- user->WriteNumeric(ERR_CHANOPRIVSNEEDED, channame, "Only a u-line may remove a u-line from a channel.");
+ user->WriteNumeric(ERR_CHANOPRIVSNEEDED, channame, "Only a U-line may remove a U-line from a channel.");
return CMD_FAILURE;
}
@@ -142,7 +142,7 @@ class RemoveBase : public Command
}
else
{
- user->WriteNotice(InspIRCd::Format("*** You do not have access to /remove %s from %s", target->nick.c_str(), channel->name.c_str()));
+ user->WriteNotice(InspIRCd::Format("*** You do not have access to /REMOVE %s from %s", target->nick.c_str(), channel->name.c_str()));
return CMD_FAILURE;
}
}
@@ -222,7 +222,7 @@ class ModuleRemove : public Module
Version GetVersion() CXX11_OVERRIDE
{
- return Version("Provides a /remove command, this is mostly an alternative to /kick, except makes users appear to have parted the channel", VF_OPTCOMMON | VF_VENDOR);
+ return Version("Provides the REMOVE command as an alternative to KICK, it makes users appear to have left the channel", VF_OPTCOMMON | VF_VENDOR);
}
};