diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-12-11 21:20:56 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-12-11 21:20:56 +0100 |
commit | 1e14a6d0895021d63032399db76d528e290991b1 (patch) | |
tree | b75fe767d52d78361aae469ea7298c51dee3d8f9 /src | |
parent | 1d81645ce1b2df04588e70a1e801f7735f4f8aab (diff) | |
download | weechat-1e14a6d0895021d63032399db76d528e290991b1.zip |
irc: display mask of ignore deleted with /ignore del
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/irc/irc-command.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index 9efc16d27..82d60f293 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -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 { |