summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/plugin.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index 784d31604..7202e58db 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -700,11 +700,7 @@ plugin_remove (struct t_weechat_plugin *plugin)
next_buffer = ptr_buffer->next_buffer;
if (ptr_buffer->plugin == plugin)
- {
- ptr_buffer->close_callback = NULL;
- ptr_buffer->close_callback_data = NULL;
gui_buffer_close (ptr_buffer, 1);
- }
ptr_buffer = next_buffer;
}