diff options
| author | default <nobody@localhost> | 2025-04-13 14:30:50 +0200 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-04-13 14:30:50 +0200 |
| commit | 848bd3e865fb2daf75d76cbb75a4a39f9b82b516 (patch) | |
| tree | 9e99d760cc76a8e97df645432523bee3440e8b08 /data.c | |
| parent | 81538904210e9092760ce7c6b043eaaa166509b6 (diff) | |
Cache the timezone inside the snac struct.
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -282,6 +282,8 @@ int user_open(snac *user, const char *uid) } else srv_log(xs_fmt("error parsing '%s'", cfg_file)); + + user->tz = xs_dict_get_def(user->config, "tz", "UTC"); } else srv_debug(2, xs_fmt("error opening '%s' %d", cfg_file, errno)); |