summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-13 20:18:53 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-13 20:18:53 +0200
commit24e06f19036bacbfbeba908988c73456586cc641 (patch)
treeca5e6f0ceeaf8bcc791c93e5fc8e526b627743c4
parented0e530b794c25edbc0539941924638a1e1e6f16 (diff)
Update XChat to r1515
-rw-r--r--ChangeLog1
-rw-r--r--src/common/outbound.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bd12351d..14bde936 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -23,6 +23,7 @@ highlights. The full CVS log is available at www.xchat.org/cvslog/
      previous versions.
  - Fixed a bug with the URL Grabber where it fails to grab a URL if the URL
    is the first thing in the message.
+ - Change /ignore <nick> to always add !*@* if <nick> does not contain ? or *
  - Perl (Lian Wan Situ)
   * Added two new options to hook_print, run_after_event and filter. See
     documentation for details.
diff --git a/src/common/outbound.c b/src/common/outbound.c
index 872ef50b..a9d1e0c0 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -2227,8 +2227,7 @@ cmd_ignore (struct session *sess, char *tbuf, char *word[], char *word_eol[])
 
 			mask = word[2];
 			if (strchr (mask, '?') == NULL &&
-			    strchr (mask, '*') == NULL &&
-			    userlist_find (sess, mask))
+			    strchr (mask, '*') == NULL)
 			{
 				mask = tbuf;
 				snprintf (tbuf, TBUFSIZE, "%s!*@*", word[2]);