mirror of
https://github.com/irssi/irssi.git
synced 2026-08-15 06:32:06 +02:00
completion_msgtoyou() -> irc_nick_match()
Implemented -replies option to /ignore. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@287 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
1a541c149d
commit
8562737548
9 changed files with 80 additions and 41 deletions
|
|
@ -25,6 +25,7 @@
|
|||
#include "irc.h"
|
||||
#include "ignore.h"
|
||||
#include "irc-server.h"
|
||||
#include "nicklist.h"
|
||||
|
||||
#include "completion.h"
|
||||
#include "windows.h"
|
||||
|
|
@ -59,7 +60,7 @@ static void event_privmsg(const char *data, IRC_SERVER_REC *server, const char *
|
|||
if (window != active_win && !ignore_check(server, nick, addr, target, msg, level)) {
|
||||
/* hilight */
|
||||
level = !ischannel(*target) ||
|
||||
completion_msgtoyou((SERVER_REC *) server, msg) ?
|
||||
irc_nick_match(server->nick, msg) ?
|
||||
NEWDATA_MSG_FORYOU : NEWDATA_MSG;
|
||||
if (item != NULL && item->new_data < level) {
|
||||
item->new_data = level;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue