diff --git a/src/stratifier.c b/src/stratifier.c index 0562741a..4f50c4cb 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -978,7 +978,7 @@ static void __disconnect_session(sdata_t *sdata, const stratum_instance_t *clien } } - if (!client->enonce1_64) + if (!client->enonce1_64 || !client->user_instance || !client->authorised) return; HASH_FIND_INT(sdata->disconnected_sessions, &client->session_id, session); if (session)