summaryrefslogtreecommitdiff
path: root/modules/commands/ns_set.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-03-30 19:08:07 -0500
committerAdam <Adam@anope.org>2013-03-30 19:08:07 -0500
commit4694c7afb4c0cabdf615021a69d550a9c60c42e0 (patch)
tree1ff5e05ee872585a1878651357fb5d07695672b6 /modules/commands/ns_set.cpp
parenta52293336f0a0b87ed4a21dbe2b2b1dc2caf934f (diff)
Split up bs_kick subcommands into real subcommands
Diffstat (limited to 'modules/commands/ns_set.cpp')
-rw-r--r--modules/commands/ns_set.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/commands/ns_set.cpp b/modules/commands/ns_set.cpp
index 61573980e..252a83262 100644
--- a/modules/commands/ns_set.cpp
+++ b/modules/commands/ns_set.cpp
@@ -50,7 +50,7 @@ class CommandNSSet : public Command
}
source.Reply(_("Type \002%s%s HELP %s \037option\037\002 for more information\n"
- "on a specific option."), Config->UseStrictPrivMsgString.c_str(), source.service->nick.c_str(), source.command.c_str());
+ "on a specific option."), Config->UseStrictPrivMsgString.c_str(), source.service->nick.c_str(), this_name.c_str());
return true;
}
@@ -74,7 +74,9 @@ class CommandNSSASet : public Command
bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
{
this->SendSyntax(source);
+ source.Reply(" ");
source.Reply(_("Sets various nickname options. \037option\037 can be one of:"));
+
Anope::string this_name = source.command;
for (CommandInfo::map::const_iterator it = source.service->commands.begin(), it_end = source.service->commands.end(); it != it_end; ++it)
{
@@ -91,9 +93,10 @@ class CommandNSSASet : public Command
}
}
}
- source.Reply(_("Type \002%s%s HELP SASET \037option\037\002 for more information\n"
+
+ source.Reply(_("Type \002%s%s HELP %s \037option\037\002 for more information\n"
"on a specific option. The options will be set on the given\n"
- "\037nickname\037."), Config->UseStrictPrivMsgString.c_str(), Config->NickServ.c_str());
+ "\037nickname\037."), Config->UseStrictPrivMsgString.c_str(), Config->NickServ.c_str(), this_name.c_str());
return true;
}
};