1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 02:23:13 +02:00

Add the TRY_AGAIN_LATER message for when a command is unavailable.

This replaces SERVICE_UNAVAILABLE and other custom messages.
This commit is contained in:
Sadie Powell
2025-11-24 23:56:23 +00:00
parent bee669b42e
commit e0331dae2a
15 changed files with 47 additions and 20 deletions
+3
View File
@@ -28,7 +28,10 @@ public:
void Execute(CommandSource &source, const std::vector<Anope::string> &params) override
{
if (!MemoServ::service)
{
source.Reply(TRY_AGAIN_LATER, source.command.nobreak().c_str());
return;
}
const Anope::string &nick = params[0];
const Anope::string &text = params[1];