mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-01 15:46:37 +02:00
- Fixed notices to opers about server delinks not being broadcasted to all
other servers if they were on SSL links. Reported by chotaire (#0003957).
This commit is contained in:
@@ -2141,3 +2141,5 @@
|
||||
- Add a modules section to the documentation. This was created to put
|
||||
all documentation specific to the m_post module in one, easy to find
|
||||
place. The documentation on m_post is likely incomplete, however.
|
||||
- Fixed notices to opers about server delinks not being broadcasted to all
|
||||
other servers if they were on SSL links. Reported by chotaire (#0003957).
|
||||
|
||||
@@ -695,6 +695,7 @@ static int fatal_ssl_error(int ssl_error, int where, aClient *sptr)
|
||||
/* sendto_failops_whoare_opers("Closing link: SSL_connect(): %s - %s", myerr, get_client_name(sptr, FALSE)); */
|
||||
sendto_umode(UMODE_OPER, "Lost connection to %s: %s: %s",
|
||||
get_client_name(sptr, FALSE), ssl_func, myerr);
|
||||
/* This is a connect() that fails, we don't broadcast that for non-SSL either (noisy) */
|
||||
} else
|
||||
if ((IsServer(sptr) || (sptr->serv && sptr->serv->conf)) && (where != SAFE_SSL_WRITE))
|
||||
{
|
||||
@@ -702,8 +703,9 @@ static int fatal_ssl_error(int ssl_error, int where, aClient *sptr)
|
||||
* and not writing (since otherwise deliver_it will take care of the error), THEN
|
||||
* send a closing link error...
|
||||
*/
|
||||
sendto_umode(UMODE_OPER, "Lost connection to %s: %s: %s",
|
||||
get_client_name(sptr, FALSE), ssl_func, ssl_errstr);
|
||||
sendto_locfailops("Lost connection to %s: %s: %s", get_client_name(sptr, FALSE), ssl_func, ssl_errstr);
|
||||
sendto_serv_butone(&me, ":%s GLOBOPS :Lost connection to server %s: %s: %s",
|
||||
me.name, get_client_name(sptr, FALSE), ssl_func, ssl_errstr);
|
||||
/* sendto_failops_whoare_opers("Closing link: %s: %s - %s", ssl_func, ssl_errstr, get_client_name(sptr, FALSE)); */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user