diff options
author | Timo Sirainen <cras@irssi.org> | 2001-01-28 01:45:31 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-01-28 01:45:31 +0000 |
commit | 4cbabe2a83541fec27679cfd23fb460af279c84e (patch) | |
tree | a7edea79e06a7e91016c5d9a0701b5b2bf970ef4 /src/core/nicklist.h | |
parent | db03c25952ba36c42bf9b74ccbc980bd3212ad2d (diff) | |
download | irssi-4cbabe2a83541fec27679cfd23fb460af279c84e.zip |
nicklist_find() now finds only full nicks, nicklist_find_mask() finds
nick masks. This fixes *a* and similiar emphasis where irssi tried to
find nick mask *a* instead of nick *a*.
Also, emphasis with highascii didn't work unless emphasis_multiword was
set ON.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1143 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/nicklist.h')
-rw-r--r-- | src/core/nicklist.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/nicklist.h b/src/core/nicklist.h index 0fde8bc6..46604feb 100644 --- a/src/core/nicklist.h +++ b/src/core/nicklist.h @@ -23,8 +23,10 @@ void nicklist_remove(CHANNEL_REC *channel, NICK_REC *nick); void nicklist_rename(SERVER_REC *server, const char *old_nick, const char *new_nick); -/* Find nick record from list */ -NICK_REC *nicklist_find(CHANNEL_REC *channel, const char *mask); +/* Find nick */ +NICK_REC *nicklist_find(CHANNEL_REC *channel, const char *nick); +/* Find nick mask, wildcards allowed */ +NICK_REC *nicklist_find_mask(CHANNEL_REC *channel, const char *mask); /* Get list of nicks that match the mask */ GSList *nicklist_find_multiple(CHANNEL_REC *channel, const char *mask); /* Get list of nicks */ |