aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-08-18 00:52:26 -0300
committerdequis <dx@dxzone.com.ar>2015-08-18 00:52:26 -0300
commitb39859ef33b55812992082f34fd9dab7263443f1 (patch)
tree243e1a5497d6adef905995f89f76b95e50cc883d /irc.c
parent86fd261eb78c78dc6f2deba206f70471ebc07c73 (diff)
irc: Replace NOTICE AUTH before registration with NOTICE *
Because many other ircds do that. (But actually mostly because @SaberUK said so)
Diffstat (limited to 'irc.c')
-rw-r--r--irc.c6
1 files changed, 3 insertions, 3 deletions
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]);