mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Log when encountering an erroneous user cull without a quit.
This commit is contained in:
parent
e2f0ff0981
commit
cafe18b10e
@ -336,7 +336,11 @@ void UserIOHandler::OnError(BufferedSocketError sockerr)
|
||||
Cullable::Result User::Cull()
|
||||
{
|
||||
if (!quitting)
|
||||
{
|
||||
ServerInstance->Logs.Debug("CULLLIST", "BUG: User {} (@{}) was culled without being quit first!",
|
||||
uuid, fmt::ptr(this));
|
||||
ServerInstance->Users.QuitUser(this, "Culled without QuitUser");
|
||||
}
|
||||
|
||||
if (client_sa.family() != AF_UNSPEC)
|
||||
ServerInstance->Users.RemoveCloneCounts(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user