diff options
-rw-r--r-- | docs/conf/helpop.conf.example | 2 | ||||
-rw-r--r-- | 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 <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 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 = "<channel>[,<channel>]+"; + syntax = "[<channel>[,<channel>]+]"; } /** Handle /NAMES |