mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
m_repeat: fix typo (similiar->similar)
Also update docs/ accordingly
This commit is contained in:
parent
6d51696715
commit
51b82c3c06
@ -895,7 +895,7 @@ who have all of them set.">
|
||||
module).
|
||||
D Delays join messages from users until they
|
||||
message the channel (requires delayjoin module).
|
||||
E [~*][lines]:[sec]{[:difference]}{[:backlog]} Allows blocking of similiar messages.
|
||||
E [~*][lines]:[sec]{[:difference]}{[:backlog]} Allows blocking of similar messages.
|
||||
Kicks as default, blocks with ~ and bans with *
|
||||
The last two parameters are optional.
|
||||
F <changes>:<sec> Blocks nick changes when they equal or exceed the
|
||||
|
@ -179,7 +179,7 @@ LOCKSERV UNLOCKSERV">
|
||||
module).
|
||||
D Delays join messages from users until they
|
||||
message the channel (requires delayjoin module).
|
||||
E [~*][lines]:[sec]{[:difference]}{[:backlog]} Allows blocking of similiar messages.
|
||||
E [~*][lines]:[sec]{[:difference]}{[:backlog]} Allows blocking of similar messages.
|
||||
Kicks as default, blocks with ~ and bans with *
|
||||
The last two parameters are optional.
|
||||
F <changes>:<sec> Blocks nick changes when they equal or exceed the
|
||||
|
@ -1521,7 +1521,7 @@
|
||||
#<remove supportnokicks="true" protectedrank="50000">
|
||||
|
||||
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
|
||||
# A module to block, kick or ban upon similiar messages being uttered several times.
|
||||
# A module to block, kick or ban upon similar messages being uttered several times.
|
||||
# Syntax [~*][lines]:[sec]{[:difference]}{[:matchlines]}
|
||||
# ~ is to block, * is to ban, default is kick.
|
||||
# lines - In mode 1 the amount of lines that has to match consecutively - In mode 2 the size of the backlog to keep for matching
|
||||
@ -1732,7 +1732,7 @@
|
||||
# By default same as the command name. #
|
||||
# method - How should the file be shown? #
|
||||
# * numeric: Send contents using a numeric #
|
||||
# (similiar to /MOTD; the default). #
|
||||
# (similar to /MOTD; the default). #
|
||||
# * notice: Send contents as a series of notices. #
|
||||
# * msg: Send contents as a series of private messages. #
|
||||
# colors - If true, color codes (\c, \b, \u, etc.) will be processed #
|
||||
|
@ -370,7 +370,7 @@ class RepeatModule : public Module
|
||||
{
|
||||
if (settings->Action == ChannelSettings::ACT_BLOCK)
|
||||
{
|
||||
user->WriteNotice("*** This line is too similiar to one of your last lines.");
|
||||
user->WriteNotice("*** This line is too similar to one of your last lines.");
|
||||
return MOD_RES_DENY;
|
||||
}
|
||||
|
||||
@ -394,7 +394,7 @@ class RepeatModule : public Module
|
||||
|
||||
Version GetVersion() CXX11_OVERRIDE
|
||||
{
|
||||
return Version("Provides the +E channel mode - for blocking of similiar messages", VF_COMMON|VF_VENDOR, rm.GetModuleSettings());
|
||||
return Version("Provides the +E channel mode - for blocking of similar messages", VF_COMMON|VF_VENDOR, rm.GetModuleSettings());
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user