commit - 571b1a8b83bee56a75728d44d2586a816401d434
commit + d118cd74b6ff342b978b493d56f9306028e364cf
blob - b5db1d9e1edffa5af2070dfc27bf9fa990590ce6
blob + c39df5943e31a0995e5848cef8278007c75e27a2
--- doc/sample-ngircd.conf.tmpl
+++ doc/sample-ngircd.conf.tmpl
;MorePrivacy = no
# Normally ngIRCd doesn't send any messages to a client until it is
- # registered. Enable this option to let the daemon send "NOTICE AUTH"
+ # registered. Enable this option to let the daemon send "NOTICE *"
# messages to clients while connecting.
;NoticeAuth = no
blob - 9040043d9db8003ce997d9851454c223badf3f7d
blob + 7996c62806a760a39de4e9514046029644b4b67b
--- man/ngircd.conf.5.tmpl
+++ man/ngircd.conf.5.tmpl
.TP
\fBNoticeAuth\fR (boolean)
Normally ngIRCd doesn't send any messages to a client until it is registered.
-Enable this option to let the daemon send "NOTICE AUTH" messages to clients
+Enable this option to let the daemon send "NOTICE *" messages to clients
while connecting. Default: no.
.TP
\fBOperCanUseMode\fR (boolean)
blob - aa80b8dd94942536c29ff4fce85c18e316e591ce
blob + 0d5c56695c8f896c4e442bb96e76759dc118c2d3
--- src/ngircd/conf.h
+++ src/ngircd/conf.h
/** Enable "more privacy" mode and "censor" some user-related information */
GLOBAL bool Conf_MorePrivacy;
-/** Enable NOTICE AUTH messages on connect */
+/** Enable "NOTICE *" messages on connect */
GLOBAL bool Conf_NoticeAuth;
/** Enable all usage of PAM, even when compiled with support for it */
blob - 62561544866413f5abb1534da27caac1e2aa2218
blob + daf496b4186a58d3f43ba8c22339918a318e05e1
--- src/ngircd/conn.c
+++ src/ngircd/conn.c
#endif
if (Conf_NoticeAuth) {
- /* Send "NOTICE AUTH" messages to the client */
+ /* Send "NOTICE *" messages to the client */
#ifdef IDENTAUTH
if (Conf_Ident)
(void)Conn_WriteStr(Idx,
- "NOTICE AUTH :*** Looking up your hostname and checking ident");
+ "NOTICE * :*** Looking up your hostname and checking ident");
else
#endif
(void)Conn_WriteStr(Idx,
- "NOTICE AUTH :*** Looking up your hostname");
+ "NOTICE * :*** Looking up your hostname");
/* Send buffered data to the client, but break on errors
* because Handle_Write() would have closed the connection
* again in this case! */
Client_SetHostname(c, readbuf);
if (Conf_NoticeAuth)
(void)Conn_WriteStr(i,
- "NOTICE AUTH :*** Found your hostname: %s",
+ "NOTICE * :*** Found your hostname: %s",
My_Connections[i].host);
#ifdef IDENTAUTH
++identptr;
}
if (Conf_NoticeAuth) {
(void)Conn_WriteStr(i,
- "NOTICE AUTH :*** Got %sident response%s%s",
+ "NOTICE * :*** Got %sident response%s%s",
*ptr ? "invalid " : "",
*ptr ? "" : ": ",
*ptr ? "" : identptr);
Log(LOG_INFO, "IDENT lookup for connection %d: no result.", i);
if (Conf_NoticeAuth)
(void)Conn_WriteStr(i,
- "NOTICE AUTH :*** No ident response");
+ "NOTICE * :*** No ident response");
}
#endif