diff options
author | TingPing <tngpng@gmail.com> | 2013-03-17 16:20:38 -0300 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-03-17 16:20:38 -0300 |
commit | c58a741abb022ef6e65770678a03f869cea49815 (patch) | |
tree | 0bb31f6bb91869016b133ad3860ecb2d4264a68b /src | |
parent | e8a78b9aa1398deb69d20d599be2a630f721cafa (diff) |
All unignoring nicks just like ignore
Diffstat (limited to 'src')
-rw-r--r-- | src/common/outbound.c | 6 |
1 files changed, 6 insertions, 0 deletions
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")) |