1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 21:06:38 +02:00

core: remove useless test in function hdata_update

This commit is contained in:
Sébastien Helleu
2021-11-03 23:02:01 +01:00
parent d8a3a0137c
commit 60b374901f
-2
View File
@@ -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;