1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 09:56:38 +02:00

Made XOP privileges configurable

This commit is contained in:
Adam
2013-04-08 23:36:14 -05:00
parent bcd85ca682
commit 0a3d27a91f
6 changed files with 233 additions and 483 deletions
+2 -2
View File
@@ -178,14 +178,14 @@ void Command::RequireUser(bool b)
this->require_user = b;
}
const Anope::string &Command::GetDesc() const
const Anope::string Command::GetDesc(CommandSource &) const
{
return this->desc;
}
void Command::OnServHelp(CommandSource &source)
{
source.Reply(" %-14s %s", source.command.c_str(), Language::Translate(source.nc, this->GetDesc().c_str()));
source.Reply(" %-14s %s", source.command.c_str(), Language::Translate(source.nc, this->GetDesc(source).c_str()));
}
bool Command::OnHelp(CommandSource &source, const Anope::string &subcommand) { return false; }