Commit 6ec52342 authored by Patrick Griffis's avatar Patrick Griffis

Fix /ignore not accepting full hosts

Fixes #1828
parent 77c8fe14
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment