diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-25 21:58:20 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-25 21:58:20 -0400 |
commit | ae38212c1ce829c783edf971081c90137abb49a0 (patch) | |
tree | 5c652d9cdc38103dec6fa112d57fca882b4e3e44 /modules/core/os_help.cpp | |
parent | 15d7f0f6fe8bb903275f603f734c13f65f3aa906 (diff) |
Epic commit to replace most of the strings in Anope with a single Anope::string class, plus some other little fixes here and there. If you follow 1.9.x development and are testing things, THIS is one of those things that NEEDS testing.
Diffstat (limited to 'modules/core/os_help.cpp')
-rw-r--r-- | modules/core/os_help.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/core/os_help.cpp b/modules/core/os_help.cpp index d88119bd2..d2ab5412e 100644 --- a/modules/core/os_help.cpp +++ b/modules/core/os_help.cpp @@ -20,13 +20,13 @@ class CommandOSHelp : public Command { } - CommandReturn Execute(User *u, const std::vector<ci::string> ¶ms) + CommandReturn Execute(User *u, const std::vector<Anope::string> ¶ms) { - mod_help_cmd(OperServ, u, params[0].c_str()); + mod_help_cmd(OperServ, 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_OperServ, u, OPER_HELP); for (CommandMap::const_iterator it = OperServ->Commands.begin(), it_end = OperServ->Commands.end(); it != it_end; ++it) @@ -39,7 +39,7 @@ class CommandOSHelp : public Command class OSHelp : public Module { public: - OSHelp(const std::string &modname, const std::string &creator) : Module(modname, creator) + OSHelp(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); |