diff --git a/modules/m_chghost.c b/modules/m_chghost.c index f4778e0..ffb6aef 100644 --- a/modules/m_chghost.c +++ b/modules/m_chghost.c @@ -240,7 +240,8 @@ mo_chghost(struct Client *client_p, struct Client *source_p, NOCAPS, CAP_TS6, ":%s ENCAP * CHGHOST %s :%s", source_p->name, target_p->name, parv[2]); #else - sendto_one_notice(source_p, ":CHGHOST is disabled"); + sendto_one_numeric(source_p, ERR_DISABLED, form_str(ERR_DISABLED), + "CHGHOST"); #endif return 0; diff --git a/modules/m_stats.c b/modules/m_stats.c index 6e7552e..d639f3e 100644 --- a/modules/m_stats.c +++ b/modules/m_stats.c @@ -424,8 +424,8 @@ stats_exempt(struct Client *source_p) if(ConfigFileEntry.stats_e_disabled) { - sendto_one_numeric(source_p, ERR_NOPRIVILEGES, - form_str (ERR_NOPRIVILEGES)); + sendto_one_numeric(source_p, ERR_DISABLED, + form_str(ERR_DISABLED), "STATS e"); return; }