inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 574c994c72ee3acb447218ba972c046f38ff60fd
parent f852e2d7fe26caca16abccb1bfe0611b75e5ba8e
Author: Robby <robby@chatbelgie.be>
Date:   Sun,  5 May 2019 06:25:44 +0200

cmd_names: Fix the syntax.

Diffstat:
Mdocs/conf/helpop.conf.example | 2+-
Msrc/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 @@ -220,7 +220,7 @@ Sends a notice to a user or channel specified in <target>."> Joins one or more channels you provide the names for."> -<helpop key="names" value="/NAMES <channel>[,<channel>]+ +<helpop key="names" value="/NAMES [<channel>[,<channel>]+] Return a list of users on the channel(s) you provide."> diff --git 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 = "<channel>[,<channel>]+"; + syntax = "[<channel>[,<channel>]+]"; } /** Handle /NAMES