diff options
author | Peter Powell <petpow@saberuk.com> | 2019-06-06 13:06:28 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-06-06 14:14:46 +0100 |
commit | d2ebf5083be476d73f468e9f45e369576bd3df2c (patch) | |
tree | 591d352e643ff9f90bfc14054064b93d8bdb1e7a /src/modules | |
parent | 2633b577adb924bb486308f5935a56fed231d790 (diff) |
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 (limited to 'src/modules')
-rw-r--r-- | src/modules/m_alias.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |