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:
@@ -28,7 +28,10 @@ public:
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) 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];
|
||||
|
||||
Reference in New Issue
Block a user