From 51b82c3c064d3329e9c828e746da4df97e827872 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 12 Jun 2015 18:27:25 -0700 Subject: m_repeat: fix typo (similiar->similar) Also update docs/ accordingly --- docs/conf/helpop-full.conf.example | 2 +- docs/conf/helpop.conf.example | 2 +- docs/conf/modules.conf.example | 4 ++-- src/modules/m_repeat.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/conf/helpop-full.conf.example b/docs/conf/helpop-full.conf.example index 7899586f8..4f93aa90b 100644 --- a/docs/conf/helpop-full.conf.example +++ b/docs/conf/helpop-full.conf.example @@ -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 : Blocks nick changes when they equal or exceed the diff --git a/docs/conf/helpop.conf.example b/docs/conf/helpop.conf.example index 84219dd94..27bd71358 100644 --- a/docs/conf/helpop.conf.example +++ b/docs/conf/helpop.conf.example @@ -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 : Blocks nick changes when they equal or exceed the diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 64c9ab0a1..93cf07ee2 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -1521,7 +1521,7 @@ # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# -# 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 # diff --git a/src/modules/m_repeat.cpp b/src/modules/m_repeat.cpp index 820ef702f..45b06865c 100644 --- a/src/modules/m_repeat.cpp +++ b/src/modules/m_repeat.cpp @@ -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()); } }; -- cgit v1.2.3