Don't overwrite existing ignores when flooded

Closes #792
This commit is contained in:
TingPing
2013-10-14 17:25:21 -04:00
parent 80cbc74b2b
commit 490b9a91e4
4 changed files with 13 additions and 14 deletions

View File

@@ -2278,7 +2278,7 @@ cmd_ignore (struct session *sess, char *tbuf, char *word[], char *word_eol[])
snprintf (tbuf, TBUFSIZE, "%s!*@*", word[2]);
}
i = ignore_add (mask, type);
i = ignore_add (mask, type, TRUE);
if (quiet)
return TRUE;
switch (i)