custom_headers ignored in followup_hook

Michael Uplawski <[email protected]> Mon, 12 Oct 2015 10:30:57 +0200
Newsgroups gmane.network.slrn.user
Organization Souris Libre, Saint-Patric e-Du-Désert, France
Message-ID <[email protected]>
SLRN pre1.0.3-6

Good morning,

I have modified a macro to set some headers conditionally as soon as I
write to the newsgroups of an associative network. The script is
attached to this message (custom_header.sl).

The post_hook works as wanted, while in the followup_hook the
*custom_header setting is ignored*!

I am not pressed to have this working better than it does already, but
want to make sure that there are no real errors in the script or in my
understanding. 
The original file, which I copied from the Web may be old and settings
may have changed in the meantime... just give me a hint in that case.

TIA

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]

------------------------------------------------------------------------------
custom_header.sl (text/plain, 553 B)
define set_cond_fields ()
{
	set_string_variable ("username", "michael.uplawski");
	set_string_variable ("hostname", "uplawski.eu");
	set_string_variable ("Organization", "");

	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");
signature.asc (application/pgp-signature, 303 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iJ4EARMKAAYFAlYbb7sACgkQ6LgGFFwqJY03agH/SWPWTDun4O0Q2ryHy+JT1Q/A
tUrXkdMqkPkNycy4KJ9OtcFMS40uaarAVbfC6CkJHqvJbHCJ8kxb3Z6rLhjnOAH/
Ysp+7nBPNxBYcnbdrA0LCuSdzFppDVdleA0ZdHFlv1je3gcZN0kfIcqqUWedxyP+
lerwbcxRjTxUgKU31XLr1g==
=5WGt
-----END PGP SIGNATURE-----