*/
#include "stdinc.h"
-#include "tools.h"
#include "send.h"
#include "channel.h"
#include "client.h"
#include "config.h"
#include "ircd.h"
#include "numeric.h"
-#include "memory.h"
#include "s_conf.h"
#include "s_newconf.h"
#include "s_serv.h"
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;