mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd: More descriptive warning message.
This commit is contained in:
parent
5a933ee713
commit
e8c10977a1
1 changed files with 3 additions and 1 deletions
|
@ -193,7 +193,9 @@ ircd::add_client(std::shared_ptr<socket> s)
|
||||||
{
|
{
|
||||||
log::warning
|
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);
|
net::close(*s, net::dc::RST, net::close_ignore);
|
||||||
|
|
Loading…
Reference in a new issue