1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 01:46:39 +02:00

Expand more on m_alias and changed some std::string usage in sockets.cpp to use Anope::string

This commit is contained in:
Adam
2011-04-29 21:12:49 -04:00
parent 583954d3a1
commit b999c6ca53
10 changed files with 170 additions and 37 deletions
+6 -1
View File
@@ -69,9 +69,14 @@ void Command::SetDesc(const Anope::string &d)
this->desc = d;
}
const Anope::string &Command::GetDesc() const
{
return this->desc;
}
void Command::OnServHelp(CommandSource &source)
{
source.Reply(" %-14s %s", this->name.c_str(), _(this->desc.c_str()));
source.Reply(" %-14s %s", this->name.c_str(), _(this->GetDesc().c_str()));
}
bool Command::OnHelp(CommandSource &source, const Anope::string &subcommand) { return false; }