]> jfr.im git - solanum.git/commit - ircd/authproc.c
Change the way authd configures opm
authorElizabeth Myers <redacted>
Tue, 12 Apr 2016 14:33:51 +0000 (09:33 -0500)
committerElizabeth Myers <redacted>
Tue, 12 Apr 2016 14:36:09 +0000 (09:36 -0500)
commit5e9a3f8674371a30dc1c94e6961ef86d09f846ee
treede4bd903589b58feaedbd955d58d1b4f49d80844
parent5eb8ce0679eab85ce0e57549ab28902d6afe69ca
Change the way authd configures opm

It's a bit of a hack, but better than before. Rather than rehashing
(which could get us into an endless loop), we now segregate the
configuration phase (creating entries ircd-side in case we restart authd
later) and sending phases (when configure_authd() is called). Since we
have to call configure_authd() no matter what (to send timeouts etc.)
and we have to send this data to configure authd anyway, and sending
duplicate data is bad, this is the only way I can think of for now.
authd/providers/opm.c
include/authproc.h
ircd/authproc.c
ircd/newconf.c
ircd/s_user.c
modules/m_stats.c