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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user