aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_silence.cpp
diff options
context:
space:
mode:
authorGravatar Robby2019-04-28 23:26:50 +0200
committerGravatar Peter Powell2019-04-28 22:26:50 +0100
commite59cb85871f75b7603c63c6cd274d57536cf6794 (patch)
tree7288546b1350a75ccf3341450421389f2d3736ee /src/modules/m_silence.cpp
parentRaise the maximum time period for the conn_join module to 15m. (diff)
Some more text fixes and improvements (#1618).
Diffstat (limited to 'src/modules/m_silence.cpp')
-rw-r--r--src/modules/m_silence.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index 3b32097ea..01f99ce7e 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -201,7 +201,7 @@ class CommandSilence : public SplitCommand
SilenceList* list = ext.get(user);
if (list && list->size() > maxsilence)
{
- user->WriteNumeric(ERR_SILELISTFULL, mask, SilenceEntry::BitsToFlags(flags), "Your silence list is full");
+ user->WriteNumeric(ERR_SILELISTFULL, mask, SilenceEntry::BitsToFlags(flags), "Your SILENCE list is full");
return CMD_FAILURE;
}
else if (!list)
@@ -213,7 +213,7 @@ class CommandSilence : public SplitCommand
if (!list->insert(SilenceEntry(flags, mask)).second)
{
- user->WriteNumeric(ERR_SILENCE, mask, SilenceEntry::BitsToFlags(flags), "The silence entry you specified already exists");
+ user->WriteNumeric(ERR_SILENCE, mask, SilenceEntry::BitsToFlags(flags), "The SILENCE entry you specified already exists");
return CMD_FAILURE;
}
@@ -239,7 +239,7 @@ class CommandSilence : public SplitCommand
}
}
- user->WriteNumeric(ERR_SILENCE, mask, SilenceEntry::BitsToFlags(flags), "The silence entry you specified could not be found");
+ user->WriteNumeric(ERR_SILENCE, mask, SilenceEntry::BitsToFlags(flags), "The SILENCE entry you specified could not be found");
return CMD_FAILURE;
}
@@ -253,7 +253,7 @@ class CommandSilence : public SplitCommand
user->WriteNumeric(RPL_SILELIST, iter->mask, SilenceEntry::BitsToFlags(iter->flags));
}
}
- user->WriteNumeric(RPL_ENDOFSILELIST, "End of silence list");
+ user->WriteNumeric(RPL_ENDOFSILELIST, "End of SILENCE list");
return CMD_SUCCESS;
}
@@ -431,7 +431,7 @@ class ModuleSilence
Version GetVersion() CXX11_OVERRIDE
{
- return Version("Provides support for blocking users with the /SILENCE command", VF_OPTCOMMON | VF_VENDOR);
+ return Version("Provides support for blocking users with the SILENCE command", VF_OPTCOMMON | VF_VENDOR);
}
};