mirror of
https://github.com/anope/anope.git
synced 2026-07-05 21:33:14 +02:00
Moved the language strings which are only used once
out of the core and into the modules that use them.
This commit is contained in:
@@ -22,20 +22,24 @@ class CommandOSUpdate : public Command
|
||||
|
||||
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
{
|
||||
source.Reply(OPER_UPDATING);
|
||||
source.Reply(_("Updating databases."));
|
||||
save_data = true;
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand)
|
||||
{
|
||||
source.Reply(OPER_HELP_UPDATE);
|
||||
source.Reply(_("Syntax: \002UPDATE\002\n"
|
||||
" \n"
|
||||
"Causes Services to update all database files as soon as you\n"
|
||||
"send the command."));
|
||||
return true;
|
||||
}
|
||||
|
||||
void OnServHelp(CommandSource &source)
|
||||
{
|
||||
source.Reply(OPER_HELP_CMD_UPDATE);
|
||||
source.Reply(_(" UPDATE Force the Services databases to be\n"
|
||||
" updated on disk immediately"));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user