mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-31 17:49:11 +00:00
NoticeAuth: make sure messages are flushed immediately
This commit is contained in:
parent
1d3def0cc6
commit
864015fa3f
@ -1508,6 +1508,7 @@ New_Connection(int Sock)
|
|||||||
#endif
|
#endif
|
||||||
(void)Conn_WriteStr(new_sock,
|
(void)Conn_WriteStr(new_sock,
|
||||||
"NOTICE AUTH :*** Looking up your hostname");
|
"NOTICE AUTH :*** Looking up your hostname");
|
||||||
|
(void)Handle_Write(new_sock);
|
||||||
}
|
}
|
||||||
Resolve_Addr(&My_Connections[new_sock].proc_stat, &new_addr,
|
Resolve_Addr(&My_Connections[new_sock].proc_stat, &new_addr,
|
||||||
identsock, cb_Read_Resolver_Result);
|
identsock, cb_Read_Resolver_Result);
|
||||||
@ -2295,6 +2296,10 @@ cb_Read_Resolver_Result( int r_fd, UNUSED short events )
|
|||||||
"NOTICE AUTH :*** No ident response");
|
"NOTICE AUTH :*** No ident response");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (Conf_NoticeAuth)
|
||||||
|
(void)Handle_Write(i);
|
||||||
|
|
||||||
Class_HandleServerBans(c);
|
Class_HandleServerBans(c);
|
||||||
}
|
}
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user