]> jfr.im git - solanum.git/commit
ircd: attach_conf: avoid clang static analysis warning
authorSimon Arlott <sa.me.uk>
Sat, 29 Jul 2017 19:26:21 +0000 (20:26 +0100)
committerSimon Arlott <sa.me.uk>
Sat, 29 Jul 2017 21:45:58 +0000 (22:45 +0100)
commit86432f8f866da9184a571f348bb60991f0181c93
tree3ae0fe65e6f1f44ea6c4e291ef01f65c51a213db
parentb5ad4cdfdec153794bc8966d583c66f3864c29b3
ircd: attach_conf: avoid clang static analysis warning

In the impossible scenario where ClassPtr(aconf) is NULL, reject the
client instead of dereferencing the NULL pointer.
ircd/s_conf.c