]> jfr.im git - solanum.git/commit - modules/m_cap.c
Use FLAGS_SENTUSER instead of 'user' being non-empty to decide whether to register...
authorStephen Bennett <redacted>
Tue, 23 Feb 2010 22:35:58 +0000 (22:35 +0000)
committerStephen Bennett <redacted>
Tue, 23 Feb 2010 22:35:58 +0000 (22:35 +0000)
commit1fb3b1e1c430179f4b59bc48a551af0318886906
treef9c3ce37589786fd5cbe368b1cb14b4aca914d3a
parent666de5311f211a9158eef4d83cb8883722614e62
Use FLAGS_SENTUSER instead of 'user' being non-empty to decide whether to register a user on CAP END.

identd and SASL can cause source_p->user to be present without USER having been sent.
Without this change, that could cause a crash later on as localClient->fullcaps is not initialised.
modules/m_cap.c