diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-01-26 10:18:50 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-01-26 10:18:50 +0000 |
commit | a7479272f0ae0bd1c697ed144aeda24bd519f277 (patch) | |
tree | bfeb67b279f355d8e2554a3be439c284f33a34ae /src/plugins | |
parent | 2e1c6023d796c4e2a27707970e3299c511605a91 (diff) | |
download | weechat-a7479272f0ae0bd1c697ed144aeda24bd519f277.zip |
Fixed bug with "get_dcc_info" plugin interface function
Diffstat (limited to 'src/plugins')
-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; } } |