From 30f64f9225f9bdb26f173b4e22bfcbd408ea87d7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 15 Jun 2022 22:08:39 +0100 Subject: Fix the parameter documentation for the repeat mode. --- docs/conf/modules.conf.example | 2 +- src/modules/m_repeat.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 69022ebd8..b1a9ef247 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -1921,7 +1921,7 @@ # Repeat module: Allows to block, kick or ban upon similar messages # being uttered several times. Provides channel mode +E. # -# Syntax: [~|*]:[:][:] +# Syntax: [~|*]:[:][:] # ~ 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. diff --git a/src/modules/m_repeat.cpp b/src/modules/m_repeat.cpp index d341080d2..158ab8889 100644 --- a/src/modules/m_repeat.cpp +++ b/src/modules/m_repeat.cpp @@ -134,7 +134,7 @@ class RepeatMode : public ParamMode > : ParamMode >(Creator, "repeat", 'E') , MemberInfoExt("repeat_memb", ExtensionItem::EXT_MEMBERSHIP, Creator) { - syntax = "[~|*]:[:][:]"; + syntax = "[~|*]:[:][:]"; } void OnUnset(User* source, Channel* chan) CXX11_OVERRIDE -- cgit v1.3.1-10-gc9f91