Update XChat to r1515
This commit is contained in:
parent
ed0e530b79
commit
24e06f1903
|
@ -23,6 +23,7 @@ highlights. The full CVS log is available at www.xchat.org/cvslog/
|
||||||
previous versions.
|
previous versions.
|
||||||
- Fixed a bug with the URL Grabber where it fails to grab a URL if the URL
|
- Fixed a bug with the URL Grabber where it fails to grab a URL if the URL
|
||||||
is the first thing in the message.
|
is the first thing in the message.
|
||||||
|
- Change /ignore <nick> to always add !*@* if <nick> does not contain ? or *
|
||||||
- Perl (Lian Wan Situ)
|
- Perl (Lian Wan Situ)
|
||||||
* Added two new options to hook_print, run_after_event and filter. See
|
* Added two new options to hook_print, run_after_event and filter. See
|
||||||
documentation for details.
|
documentation for details.
|
||||||
|
|
|
@ -2227,8 +2227,7 @@ cmd_ignore (struct session *sess, char *tbuf, char *word[], char *word_eol[])
|
||||||
|
|
||||||
mask = word[2];
|
mask = word[2];
|
||||||
if (strchr (mask, '?') == NULL &&
|
if (strchr (mask, '?') == NULL &&
|
||||||
strchr (mask, '*') == NULL &&
|
strchr (mask, '*') == NULL)
|
||||||
userlist_find (sess, mask))
|
|
||||||
{
|
{
|
||||||
mask = tbuf;
|
mask = tbuf;
|
||||||
snprintf (tbuf, TBUFSIZE, "%s!*@*", word[2]);
|
snprintf (tbuf, TBUFSIZE, "%s!*@*", word[2]);
|
||||||
|
|
Loading…
Reference in New Issue