]> jfr.im git - solanum.git/blobdiff - modules/m_chghost.c
extensions/umode_hide_idle_time: mask times for hidden sources (#373)
[solanum.git] / modules / m_chghost.c
index b6711f763e60dc04f5983f0fafd4187053f30bf0..e493278e71eab4786b0983873e5b13e276ae9761 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005 William Pitcock <nenolod -at- nenolod.net>
+ * Copyright (c) 2005 Ariadne Conill <ariadne -at- dereferenced.org>
  * and Jilles Tjoelker <jilles -at- stack.nl>
  * All rights reserved.
  *
@@ -113,7 +113,7 @@ do_chghost(struct Client *source_p, struct Client *target_p,
 {
        if (!clean_host(newhost))
        {
-               sendto_realops_snomask(SNO_GENERAL, is_encap ? L_ALL : L_NETWIDE, "%s attempted to change hostname for %s to %s (invalid)",
+               sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "%s attempted to change hostname for %s to %s (invalid)",
                                IsServer(source_p) ? source_p->name : get_oper_name(source_p),
                                target_p->name, newhost);
                /* sending this remotely may disclose important