aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_delaymsg.cpp
diff options
context:
space:
mode:
authorGravatar Robby2019-04-28 10:14:21 +0200
committerGravatar Peter Powell2019-04-28 09:14:21 +0100
commite57d1b19ff4823b7885eb7f4d3b37c84d2edca0e (patch)
tree81e3825243464f332742b7e945053d32d726808b /src/modules/m_delaymsg.cpp
parentFix compatibility issues between sqloper and postgres (diff)
Textual improvements and fixes such as typos, casing, etc. (#1612)
Diffstat (limited to 'src/modules/m_delaymsg.cpp')
-rw-r--r--src/modules/m_delaymsg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_delaymsg.cpp b/src/modules/m_delaymsg.cpp
index 5805d4bad..ed37477d8 100644
--- a/src/modules/m_delaymsg.cpp
+++ b/src/modules/m_delaymsg.cpp
@@ -47,7 +47,7 @@ class DelayMsgMode : public ParamMode<DelayMsgMode, LocalIntExt>
class ModuleDelayMsg
: public Module
- , public CTCTags::EventListener
+ , public CTCTags::EventListener
{
private:
DelayMsgMode djm;
@@ -91,7 +91,7 @@ void DelayMsgMode::OnUnset(User* source, Channel* chan)
Version ModuleDelayMsg::GetVersion()
{
- return Version("Provides channelmode +d <int>, to deny messages to a channel until <int> seconds.", VF_VENDOR);
+ return Version("Provides channel mode +d <int>, to deny messages to a channel until <int> seconds have passed", VF_VENDOR);
}
void ModuleDelayMsg::OnUserJoin(Membership* memb, bool sync, bool created, CUList&)
@@ -137,7 +137,7 @@ ModResult ModuleDelayMsg::HandleMessage(User* user, const MessageTarget& target,
{
if (channel->GetPrefixValue(user) < VOICE_VALUE)
{
- user->WriteNumeric(ERR_CANNOTSENDTOCHAN, channel->name, InspIRCd::Format("You must wait %d seconds after joining to send to channel (+d)", len));
+ user->WriteNumeric(ERR_CANNOTSENDTOCHAN, channel->name, InspIRCd::Format("You must wait %d seconds after joining to send to the channel (+d)", len));
return MOD_RES_DENY;
}
}