summaryrefslogtreecommitdiff
path: root/src/coremods/core_channel
diff options
context:
space:
mode:
Diffstat (limited to 'src/coremods/core_channel')
-rw-r--r--src/coremods/core_channel/cmd_invite.cpp2
-rw-r--r--src/coremods/core_channel/cmd_join.cpp2
-rw-r--r--src/coremods/core_channel/cmd_kick.cpp4
-rw-r--r--src/coremods/core_channel/cmd_names.cpp2
-rw-r--r--src/coremods/core_channel/cmd_topic.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/coremods/core_channel/cmd_invite.cpp b/src/coremods/core_channel/cmd_invite.cpp
index c26318337..732894aa5 100644
--- a/src/coremods/core_channel/cmd_invite.cpp
+++ b/src/coremods/core_channel/cmd_invite.cpp
@@ -29,7 +29,7 @@ CommandInvite::CommandInvite(Module* parent, Invite::APIImpl& invapiimpl)
, invapi(invapiimpl)
{
Penalty = 4;
- syntax = "[<nick> <channel>]";
+ syntax = "[<nick> <channel> [<time>]]";
}
/** Handle /INVITE
diff --git a/src/coremods/core_channel/cmd_join.cpp b/src/coremods/core_channel/cmd_join.cpp
index 2caed9dc6..0e783d2b3 100644
--- a/src/coremods/core_channel/cmd_join.cpp
+++ b/src/coremods/core_channel/cmd_join.cpp
@@ -24,7 +24,7 @@
CommandJoin::CommandJoin(Module* parent)
: SplitCommand(parent, "JOIN", 1, 2)
{
- syntax = "<channel>{,<channel>} {<key>{,<key>}}";
+ syntax = "<channel>[,<channel>]+ [<key>[,<key>]+]";
Penalty = 2;
}
diff --git a/src/coremods/core_channel/cmd_kick.cpp b/src/coremods/core_channel/cmd_kick.cpp
index 755c6613b..77ac36a66 100644
--- a/src/coremods/core_channel/cmd_kick.cpp
+++ b/src/coremods/core_channel/cmd_kick.cpp
@@ -24,7 +24,7 @@
CommandKick::CommandKick(Module* parent)
: Command(parent, "KICK", 2, 3)
{
- syntax = "<channel> <nick>{,<nick>} [<reason>]";
+ syntax = "<channel> <nick>[,<nick>]+ [:<reason>]";
}
/** Handle /KICK
@@ -65,7 +65,7 @@ CmdResult CommandKick::Handle(User* user, const Params& parameters)
if (u->server->IsULine())
{
- user->WriteNumeric(ERR_CHANOPRIVSNEEDED, c->name, "You may not kick a u-lined client");
+ user->WriteNumeric(ERR_CHANOPRIVSNEEDED, c->name, "You may not kick a U-lined client");
return CMD_FAILURE;
}
}
diff --git a/src/coremods/core_channel/cmd_names.cpp b/src/coremods/core_channel/cmd_names.cpp
index 28273c903..a179cf9dc 100644
--- a/src/coremods/core_channel/cmd_names.cpp
+++ b/src/coremods/core_channel/cmd_names.cpp
@@ -27,7 +27,7 @@ CommandNames::CommandNames(Module* parent)
, privatemode(parent, "private")
, invisiblemode(parent, "invisible")
{
- syntax = "{<channel>{,<channel>}}";
+ syntax = "<channel>[,<channel>]+";
}
/** Handle /NAMES
diff --git a/src/coremods/core_channel/cmd_topic.cpp b/src/coremods/core_channel/cmd_topic.cpp
index 0417f1a0c..f0af2a0ad 100644
--- a/src/coremods/core_channel/cmd_topic.cpp
+++ b/src/coremods/core_channel/cmd_topic.cpp
@@ -29,7 +29,7 @@ CommandTopic::CommandTopic(Module* parent)
, secretmode(parent, "secret")
, topiclockmode(parent, "topiclock")
{
- syntax = "<channel> [<topic>]";
+ syntax = "<channel> [:<topic>]";
Penalty = 2;
}