inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit d2ebf5083be476d73f468e9f45e369576bd3df2c
parent 2633b577adb924bb486308f5935a56fed231d790
Author: Peter Powell <petpow@saberuk.com>
Date:   Thu,  6 Jun 2019 13:06:28 +0100

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.

Diffstat:
Msrc/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 @@ -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; } }