From 53bb3c0fb3845643b0ec8ef8f055e0bf04ac876b Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 14 Jul 2015 13:07:19 +0100 Subject: [PATCH] Use "NOTICE *" before registration instead of "NOTICE AUTH". AUTH is a valid nickname so sending notices to it is probably not a good idea. Use * as the target instead as done with numerics when the nick is not available. This mimics the behaviour in Charybdis, IRCD-Hybrid, InspIRCd 2.2, Plexus 4, etc. --- include/h.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/h.h b/include/h.h index d66d14939..9c949199e 100644 --- a/include/h.h +++ b/include/h.h @@ -138,13 +138,13 @@ extern int del_exbanid(aChannel *chptr, char *banid); #ifdef SHOWCONNECTINFO -#define BREPORT_DO_DNS "NOTICE AUTH :*** Looking up your hostname...\r\n" -#define BREPORT_FIN_DNS "NOTICE AUTH :*** Found your hostname\r\n" -#define BREPORT_FIN_DNSC "NOTICE AUTH :*** Found your hostname (cached)\r\n" -#define BREPORT_FAIL_DNS "NOTICE AUTH :*** Couldn't resolve your hostname; using your IP address instead\r\n" -#define BREPORT_DO_ID "NOTICE AUTH :*** Checking ident...\r\n" -#define BREPORT_FIN_ID "NOTICE AUTH :*** Received identd response\r\n" -#define BREPORT_FAIL_ID "NOTICE AUTH :*** No ident response; username prefixed with ~\r\n" +#define BREPORT_DO_DNS "NOTICE * :*** Looking up your hostname...\r\n" +#define BREPORT_FIN_DNS "NOTICE * :*** Found your hostname\r\n" +#define BREPORT_FIN_DNSC "NOTICE * :*** Found your hostname (cached)\r\n" +#define BREPORT_FAIL_DNS "NOTICE * :*** Couldn't resolve your hostname; using your IP address instead\r\n" +#define BREPORT_DO_ID "NOTICE * :*** Checking ident...\r\n" +#define BREPORT_FIN_ID "NOTICE * :*** Received identd response\r\n" +#define BREPORT_FAIL_ID "NOTICE * :*** No ident response; username prefixed with ~\r\n" extern MODVAR char REPORT_DO_DNS[256], REPORT_FIN_DNS[256], REPORT_FIN_DNSC[256], REPORT_FAIL_DNS[256], REPORT_DO_ID[256], REPORT_FIN_ID[256],