From d2ebf5083be476d73f468e9f45e369576bd3df2c Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Thu, 6 Jun 2019 13:06:28 +0100 Subject: [PATCH] Use a less scary message when an alias target is not U-lined. 99% of cases of this are due to misconfigurations not due to underhanded behaviour. --- src/modules/m_alias.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index f6aa5bd02..a275853e9 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -283,7 +283,7 @@ class ModuleAlias : public Module if ((a->ULineOnly) && (!u->server->IsULine())) { ServerInstance->SNO->WriteToSnoMask('a', "NOTICE -- Service "+a->RequiredNick+" required by alias "+a->AliasedCommand+" is not on a U-lined server, possibly underhanded antics detected!"); - user->WriteNumeric(ERR_NOSUCHNICK, a->RequiredNick, "is an imposter! Please inform a server operator as soon as possible."); + user->WriteNumeric(ERR_NOSUCHNICK, a->RequiredNick, "is not a network service! Please inform a server operator as soon as possible."); return 1; } } -- 2.39.5