[correction] custom_headers ignored in followup_hook

Michael Uplawski <[email protected]> Mon, 12 Oct 2015 10:59:50 +0200
Newsgroups gmane.network.slrn.user
Organization Souris Libre, Saint-Patric e-Du-Désert, France
Message-ID <[email protected]>
Same message as before, only the error that I have introduced in the
scipt prior sending has been corrected, below.

On Mon, Oct 12, 2015 at 10:30:57AM +0200, Michael Uplawski wrote:
 
> The post_hook works as wanted, while in the followup_hook the
> *custom_header setting is ignored*!

-----------------
> define set_cond_fields ()
> {
> 	set_string_variable ("username", "michael.uplawski");
> 	set_string_variable ("hostname", "uplawski.eu");
> 
> 	if (string_match (current_newsgroup, "lautre\.*", 1))
> 	{
> 		set_string_variable ("username", "webmaster");
> 		set_string_variable ("hostname", "nepmso.lautre.net");
> 		set_string_variable ("custom_headers", "Organization: Nature & Progrès Mayenne-Sarthe-Orne");
> 	}
> }
> 
> () = register_hook ("followup_hook", "set_cond_fields");
> () = register_hook ("post_hook", "set_cond_fields");
----------------

This was the millionth time that I swore to never modify code-fragments
in a message... Here comes the millionth-and-first. :-(

Sorry.
Michael.

-- 
ATTN! New Key!
GnuPG brainpoolP512r1/5C2A258D 2015-10-02 [expires: 2017-10-01]
Michael Uplawski <[email protected]>
fingerprint: 2A44 09D4 54B4 EBD2 90DA  0B2D E8B8 0614 5C2A 258D
sub   brainpoolP512r1/53461AFA 2015-10-02 [expires: 2017-10-01]

------------------------------------------------------------------------------
signature.asc (application/pgp-signature, 303 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iJ4EARMKAAYFAlYbdoUACgkQ6LgGFFwqJY0suwH/QNpYph5qUyl/kvBD283rd1Vx
PkPPmMAwuwL2G0ikcNQT1dIoQ88kIWoTYTp6EsRS9kYgd667pNxx8bR+55MUsgH9
F2pwoZJutsFk0g3ArzpliM3ucLyxiqwdmvgIm/o7j6BG+CMq1yjiabFdXyJMXBRa
ApYFjqiCOPy/BonhEIpndQ==
=wW8N
-----END PGP SIGNATURE-----