summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/conf/helpop.conf.example8
-rw-r--r--docs/conf/modules.conf.example2
-rw-r--r--src/modules/m_filter.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/docs/conf/helpop.conf.example b/docs/conf/helpop.conf.example
index 3fdff9bee..f8689c7b4 100644
--- a/docs/conf/helpop.conf.example
+++ b/docs/conf/helpop.conf.example
@@ -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
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example
index 964b57e71..2fa3b5042 100644
--- a/docs/conf/modules.conf.example
+++ b/docs/conf/modules.conf.example
@@ -851,7 +851,7 @@
# #
# 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">
diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp
index a0245b3eb..f49694e81 100644
--- a/src/modules/m_filter.cpp
+++ b/src/modules/m_filter.cpp
@@ -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;