summaryrefslogtreecommitdiff
path: root/modules/core/hs_help.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/hs_help.cpp')
-rw-r--r--modules/core/hs_help.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/core/hs_help.cpp b/modules/core/hs_help.cpp
index b4b20e149..4645590f5 100644
--- a/modules/core/hs_help.cpp
+++ b/modules/core/hs_help.cpp
@@ -21,15 +21,15 @@ class CommandHSHelp : public Command
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
}
- CommandReturn Execute(User *u, const std::vector<ci::string> &params)
+ CommandReturn Execute(User *u, const std::vector<Anope::string> &params)
{
- mod_help_cmd(HostServ, u, params[0].c_str());
+ mod_help_cmd(HostServ, u, params[0]);
return MOD_CONT;
}
- void OnSyntaxError(User *u, const ci::string &subcommand)
+ void OnSyntaxError(User *u, const Anope::string &subcommand)
{
- notice_help(Config.s_HostServ, u, HOST_HELP, Config.s_HostServ);
+ notice_help(Config.s_HostServ, u, HOST_HELP, Config.s_HostServ.c_str());
for (CommandMap::const_iterator it = HostServ->Commands.begin(), it_end = HostServ->Commands.end(); it != it_end; ++it)
if (!Config.HidePrivilegedCommands || it->second->permission.empty() || (u->Account() && u->Account()->HasCommand(it->second->permission)))
it->second->OnServHelp(u);
@@ -39,7 +39,7 @@ class CommandHSHelp : public Command
class HSHelp : public Module
{
public:
- HSHelp(const std::string &modname, const std::string &creator) : Module(modname, creator)
+ HSHelp(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");
this->SetType(CORE);