]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
m_repeat: fix typo (similiar->similar)
authorJames Lu <GLolol1@hotmail.com>
Sat, 13 Jun 2015 01:27:25 +0000 (18:27 -0700)
committerJames Lu <GLolol1@hotmail.com>
Sat, 13 Jun 2015 01:31:01 +0000 (18:31 -0700)
Also update docs/ accordingly

docs/conf/helpop-full.conf.example
docs/conf/helpop.conf.example
docs/conf/modules.conf.example
src/modules/m_repeat.cpp

index 7899586f81aad03ac263374e2eb3f94a01ca9d19..4f93aa90bdae31ae6880e003c91315ed12ae9020 100644 (file)
@@ -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
index 84219dd94b0e9f4eadee4531707adf3867f6a4fc..27bd71358da46e8ea415d963832a1b69bb7cea99 100644 (file)
@@ -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
index 64c9ab0a1557dfab2951b95e01f36697e4022dfd..93cf07ee25b4add000294781c6841291496439c7 100644 (file)
 #<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
 #           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 #
index 820ef702fd895e1bdd7a742f9e4b934dd94440fa..45b06865c7e15a465d907e925e9f3e70cd4f7657 100644 (file)
@@ -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());
        }
 };