Improved nick_match_msg() - it shouldn't give wrong matches as easily

anymore. Also supports multiple targets in one line (nick1,nick2: hello)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@996 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-12-17 01:20:21 +00:00 committed by cras
commit 6e19541f46
6 changed files with 82 additions and 29 deletions

View file

@ -37,7 +37,7 @@ void nicklist_update_flags(SERVER_REC *server, const char *nick,
int nicklist_compare(NICK_REC *p1, NICK_REC *p2);
/* Check is `msg' is meant for `nick'. */
int nick_match_msg(SERVER_REC *server, const char *msg, const char *nick);
int nick_match_msg(CHANNEL_REC *channel, const char *msg, const char *nick);
void nicklist_init(void);
void nicklist_deinit(void);