From c58a741abb022ef6e65770678a03f869cea49815 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sun, 17 Mar 2013 16:20:38 -0300 Subject: All unignoring nicks just like ignore --- src/common/outbound.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/common') diff --git a/src/common/outbound.c b/src/common/outbound.c index e073ca1d..6127fc9c 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -3289,6 +3289,12 @@ cmd_unignore (struct session *sess, char *tbuf, char *word[], char *arg = word[3]; if (*mask) { + if (strchr (mask, '?') == NULL && strchr (mask, '*') == NULL) + { + mask = tbuf; + snprintf (tbuf, TBUFSIZE, "%s!*@*", word[2]); + } + if (ignore_del (mask, NULL)) { if (g_ascii_strcasecmp (arg, "QUIET")) -- cgit 1.4.1