From b39859ef33b55812992082f34fd9dab7263443f1 Mon Sep 17 00:00:00 2001 From: dequis Date: Tue, 18 Aug 2015 00:52:26 -0300 Subject: irc: Replace NOTICE AUTH before registration with NOTICE * Because many other ircds do that. (But actually mostly because @SaberUK said so) --- irc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'irc.c') diff --git a/irc.c b/irc.c index 6b3fa737..802b2b37 100644 --- a/irc.c +++ b/irc.c @@ -152,9 +152,9 @@ irc_t *irc_new(int fd) /* Evaluator sets the iconv/oconv structures. */ set_eval_charset(set_find(&b->set, "charset"), set_getstr(&b->set, "charset")); - irc_write(irc, ":%s NOTICE AUTH :%s", irc->root->host, "BitlBee-IRCd initialized, please go on"); + irc_write(irc, ":%s NOTICE * :%s", irc->root->host, "BitlBee-IRCd initialized, please go on"); if (isatty(irc->fd)) { - irc_write(irc, ":%s NOTICE AUTH :%s", irc->root->host, + irc_write(irc, ":%s NOTICE * :%s", irc->root->host, "If you read this, you most likely accidentally " "started BitlBee in inetd mode on the command line. " "You probably want to run it in (Fork)Daemon mode. " @@ -379,7 +379,7 @@ void irc_process(irc_t *irc) g_free(conv); conv = NULL; } else { - irc_write(irc, ":%s NOTICE AUTH :%s", irc->root->host, + irc_write(irc, ":%s NOTICE * :%s", irc->root->host, "Warning: invalid characters received at login time."); conv = g_strdup(lines[i]); -- cgit v1.2.3