0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-28 00:14:07 +01:00

ircd: More descriptive warning message.

This commit is contained in:
Jason Volk 2018-03-14 14:05:49 -07:00
parent 5a933ee713
commit e8c10977a1

View file

@ -193,7 +193,9 @@ ircd::add_client(std::shared_ptr<socket> s)
{
log::warning
{
"Refusing to add new client in runlevel %s", reflect(ircd::runlevel)
"Refusing to add new client from %s in runlevel %s",
string(remote_ipport(*s)),
reflect(ircd::runlevel)
};
net::close(*s, net::dc::RST, net::close_ignore);