summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_extensions.c
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-04-26 23:10:05 +0200
committerFlorian Dold <florian@dold.me>2022-04-26 23:10:12 +0200
commitbe536de23c4a6a7f33e05d1f9f658579a470821a (patch)
treeb4b85b14276b4a51b9cf5c19bad8245d6f21d311 /src/exchange/taler-exchange-httpd_extensions.c
parent336f2d8991fe4b77b625415c179f68b387a2719b (diff)
downloadexchange-be536de23c4a6a7f33e05d1f9f658579a470821a.tar.gz
exchange-be536de23c4a6a7f33e05d1f9f658579a470821a.tar.bz2
exchange-be536de23c4a6a7f33e05d1f9f658579a470821a.zip
various age restriction fixes, some of them half-baked
Diffstat (limited to 'src/exchange/taler-exchange-httpd_extensions.c')
-rw-r--r--src/exchange/taler-exchange-httpd_extensions.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-httpd_extensions.c b/src/exchange/taler-exchange-httpd_extensions.c
index 71abfecec..c9d470521 100644
--- a/src/exchange/taler-exchange-httpd_extensions.c
+++ b/src/exchange/taler-exchange-httpd_extensions.c
@@ -131,11 +131,8 @@ extension_update_event_cb (void *cls,
/* Special case age restriction: Update global flag and mask */
if (TALER_Extension_AgeRestriction == type)
{
- TEH_age_mask.bits = 0;
TEH_age_restriction_enabled =
TALER_extensions_age_restriction_is_enabled ();
- if (TEH_age_restriction_enabled)
- TEH_age_mask = TALER_extensions_age_restriction_ageMask ();
}
}