1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 10:43:13 +02:00

irc: display mask of ignore deleted with /ignore del

This commit is contained in:
Sebastien Helleu
2013-12-11 21:20:56 +01:00
parent 1d81645ce1
commit 1e14a6d089
13 changed files with 42 additions and 38 deletions
+6 -2
View File
@@ -2001,9 +2001,13 @@ irc_command_ignore (void *data, struct t_gui_buffer *buffer, int argc,
ptr_ignore = irc_ignore_search_by_number (number);
if (ptr_ignore)
{
mask = weechat_strndup (ptr_ignore->mask + 1,
strlen (ptr_ignore->mask) - 2);
irc_ignore_free (ptr_ignore);
weechat_printf (NULL, _("%s: ignore deleted"),
IRC_PLUGIN_NAME);
weechat_printf (NULL, _("%s: ignore \"%s\" deleted"),
IRC_PLUGIN_NAME, mask);
if (mask)
free (mask);
}
else
{