mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-09 12:42:31 +01:00
parent
77c8fe1421
commit
6ec523423a
@ -2342,7 +2342,10 @@ cmd_ignore (struct session *sess, char *tbuf, char *word[], char *word_eol[])
|
||||
return FALSE;
|
||||
|
||||
mask = word[2];
|
||||
if (strchr (mask, '?') == NULL &&
|
||||
/* If not a full mask or using wildcards, assume nick */
|
||||
if (strchr (mask, '!') == NULL &&
|
||||
strchr (mask, '@') == NULL &&
|
||||
strchr (mask, '?') == NULL &&
|
||||
strchr (mask, '*') == NULL)
|
||||
{
|
||||
mask = tbuf;
|
||||
|
Loading…
Reference in New Issue
Block a user