diff options
Diffstat (limited to 'modules/core/ss_main.cpp')
-rw-r--r-- | modules/core/ss_main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/core/ss_main.cpp b/modules/core/ss_main.cpp index a48b77855..b15e8ce9e 100644 --- a/modules/core/ss_main.cpp +++ b/modules/core/ss_main.cpp @@ -20,9 +20,9 @@ class CommandSSHelp : public Command { } - CommandReturn Execute(User *u, const std::vector<ci::string> ¶ms) + CommandReturn Execute(User *u, const std::vector<Anope::string> ¶ms) { - ircdproto->SendMessage(statserv, u->nick.c_str(), "This is a test of the emergency StatServ system."); + ircdproto->SendMessage(statserv, u->nick, "This is a test of the emergency StatServ system."); return MOD_CONT; } }; @@ -30,7 +30,7 @@ class CommandSSHelp : public Command class SSMain : public Module { public: - SSMain(const std::string &modname, const std::string &creator) : Module(modname, creator) + SSMain(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); @@ -51,7 +51,7 @@ class SSMain : public Module { if (statserv) { - for (std::map<ci::string, Command *>::iterator it = statserv->Commands.begin(), it_end = statserv->Commands.end(); it != it_end; ++it) + for (CommandMap::iterator it = statserv->Commands.begin(), it_end = statserv->Commands.end(); it != it_end; ++it) this->DelCommand(statserv, it->second); ircdproto->SendQuit(statserv, "Quit due to module unload."); |