From 574c994c72ee3acb447218ba972c046f38ff60fd Mon Sep 17 00:00:00 2001 From: Robby Date: Sun, 5 May 2019 06:25:44 +0200 Subject: cmd_names: Fix the syntax. --- docs/conf/helpop.conf.example | 2 +- src/coremods/core_channel/cmd_names.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf/helpop.conf.example b/docs/conf/helpop.conf.example index e12508659..aa63da185 100644 --- a/docs/conf/helpop.conf.example +++ b/docs/conf/helpop.conf.example @@ -220,7 +220,7 @@ Sends a notice to a user or channel specified in ."> Joins one or more channels you provide the names for."> - diff --git a/src/coremods/core_channel/cmd_names.cpp b/src/coremods/core_channel/cmd_names.cpp index b5cd98ec8..d50370246 100644 --- a/src/coremods/core_channel/cmd_names.cpp +++ b/src/coremods/core_channel/cmd_names.cpp @@ -29,7 +29,7 @@ CommandNames::CommandNames(Module* parent) , invisiblemode(parent, "invisible") , namesevprov(parent, "event/names") { - syntax = "[,]+"; + syntax = "[[,]+]"; } /** Handle /NAMES -- cgit v1.2.3