diff options
Diffstat (limited to 'src/plugins/plugins-interface.c')
-rw-r--r-- | src/plugins/plugins-interface.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/plugins-interface.c b/src/plugins/plugins-interface.c index 7c6216b8f..5d4312c00 100644 --- a/src/plugins/plugins-interface.c +++ b/src/plugins/plugins-interface.c @@ -427,12 +427,10 @@ weechat_plugin_get_dcc_info (t_weechat_plugin *plugin) new_dcc_info->prev_dcc = last_dcc_info; new_dcc_info->next_dcc = NULL; if (!dcc_info) - { dcc_info = new_dcc_info; - last_dcc_info = new_dcc_info; - } else last_dcc_info->next_dcc = new_dcc_info; + last_dcc_info = new_dcc_info; } } |