]> jfr.im git - irc/rqf/shadowircd.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)
commit47148a3e79ddafbc50fa6093c2dae31dd8c36fcc
tree93d5e151746d57bc90e8cd91f1357a6eea645c92
parent45b9f1cbc0e0be0cc8801be9f61796fa603ad462
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