diff options
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r-- | src/core/wee-command.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 9f4408308..ccbee03d2 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -2177,7 +2177,7 @@ COMMAND_CALLBACK(filter) if (!ptr_filter->enabled) { ptr_filter->enabled = 1; - gui_filter_all_buffers (); + gui_filter_all_buffers (ptr_filter); gui_chat_printf_date_tags (NULL, 0, GUI_FILTER_TAG_NO_FILTER, _("Filter \"%s\" enabled"), @@ -2235,7 +2235,7 @@ COMMAND_CALLBACK(filter) if (ptr_filter->enabled) { ptr_filter->enabled = 0; - gui_filter_all_buffers (); + gui_filter_all_buffers (ptr_filter); gui_chat_printf_date_tags (NULL, 0, GUI_FILTER_TAG_NO_FILTER, _("Filter \"%s\" disabled"), @@ -2289,7 +2289,7 @@ COMMAND_CALLBACK(filter) if (ptr_filter) { ptr_filter->enabled ^= 1; - gui_filter_all_buffers (); + gui_filter_all_buffers (ptr_filter); } else { @@ -2330,7 +2330,7 @@ COMMAND_CALLBACK(filter) argv_eol[5]); if (ptr_filter) { - gui_filter_all_buffers (); + gui_filter_all_buffers (ptr_filter); gui_chat_printf (NULL, ""); gui_chat_printf_date_tags (NULL, 0, GUI_FILTER_TAG_NO_FILTER, _("Filter \"%s\" added:"), @@ -2384,7 +2384,7 @@ COMMAND_CALLBACK(filter) if (gui_filters) { gui_filter_free_all (); - gui_filter_all_buffers (); + gui_filter_all_buffers (NULL); gui_chat_printf_date_tags (NULL, 0, GUI_FILTER_TAG_NO_FILTER, _("All filters have been deleted")); } @@ -2400,7 +2400,7 @@ COMMAND_CALLBACK(filter) if (ptr_filter) { gui_filter_free (ptr_filter); - gui_filter_all_buffers (); + gui_filter_all_buffers (ptr_filter); gui_chat_printf_date_tags (NULL, 0, GUI_FILTER_TAG_NO_FILTER, _("Filter \"%s\" deleted"), argv[2]); |