diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-11-03 23:02:01 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-11-03 23:02:01 +0100 |
commit | 60b374901fb0be4e235559e20ea20fe60bdd3d6b (patch) | |
tree | 76ef86ff23151539f8ad1605cc8f81dd95368942 /src/core/wee-hdata.c | |
parent | d8a3a0137cde157347db5f24aed201b531fa8986 (diff) | |
download | weechat-60b374901fb0be4e235559e20ea20fe60bdd3d6b.zip |
core: remove useless test in function hdata_update
Diffstat (limited to 'src/core/wee-hdata.c')
-rw-r--r-- | src/core/wee-hdata.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/wee-hdata.c b/src/core/wee-hdata.c index ccd461979..976d09967 100644 --- a/src/core/wee-hdata.c +++ b/src/core/wee-hdata.c @@ -1108,8 +1108,6 @@ hdata_update (struct t_hdata *hdata, void *pointer, value = hashtable_get (hashtable, "__update_allowed"); if (value) { - if (!hdata->callback_update) - return 0; var = hashtable_get (hdata->hash_var, value); if (!var) return 0; |