]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Minor text fixes for m_filter.
authorRobby <robby@chatbelgie.be>
Tue, 19 Feb 2019 20:25:16 +0000 (21:25 +0100)
committerPeter Powell <petpow@saberuk.com>
Tue, 19 Feb 2019 20:51:54 +0000 (20:51 +0000)
docs/conf/helpop.conf.example
docs/conf/modules.conf.example
src/modules/m_filter.cpp

index 3fdff9bee3a50f55dc6b7bbd4c1d090ed680c377..f8689c7b4ebfe78c4a33c51cd9d57d652238f176 100644 (file)
@@ -477,15 +477,15 @@ service is temporarily closed and to try again later.">
 
 Opens the server up again for new connections.">
 
-<helpop key="filter" value="/FILTER <filter-definition> [<action> <flags> [<duration>] :<reason>]
+<helpop key="filter" value="/FILTER <pattern> [<action> <flags> [<duration>] :<reason>]
 
 This command will add a global filter when more than one parameter is
 given, for messages of the types specified by the flags, with the given
-filter definition, action, duration (when the action is 'gline',
-'zline' or 'shun'), and reason.
+filter pattern, action, duration (when the action is 'gline', 'zline'
+or 'shun'), and reason.
 
 The filter will take effect when a message of any type specified by
-the flags and matching the definition is sent to the server, and
+the flags and matching the pattern is sent to the server, and
 perform the specified action.
 
 Valid FILTER Actions
index 964b57e7189cfd0d62b5857527de00871ea52015..2fa3b5042b34e9f66a466a241219c33235a8f3e8 100644 (file)
 #                                                                     #
 # Optional - If you specify to use the filter module, then            #
 # specify below the path to the filter.conf file, or define some      #
-# <filter> tags.                                                      #
+# <keyword> tags.                                                     #
 #                                                                     #
 #<include file="examples/filter.conf.example">
 
index a0245b3eba786ff3f9237d6c5ed69223b58bfee5..f49694e81744fc47e7636e9541504733f92c7d58 100644 (file)
@@ -155,7 +155,7 @@ class CommandFilter : public Command
                : Command(f, "FILTER", 1, 5)
        {
                flags_needed = 'o';
-               this->syntax = "<filter-definition> <action> <flags> [<duration>] :<reason>";
+               this->syntax = "<pattern> [<action> <flags> [<duration>] :<reason>]";
        }
        CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE;