From 4cbabe2a83541fec27679cfd23fb460af279c84e Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 28 Jan 2001 01:45:31 +0000 Subject: 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 --- src/perl/common/Channel.xs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/perl') diff --git a/src/perl/common/Channel.xs b/src/perl/common/Channel.xs index 322ca1db..40522769 100644 --- a/src/perl/common/Channel.xs +++ b/src/perl/common/Channel.xs @@ -103,11 +103,20 @@ CODE: nicklist_remove(channel, nick); Irssi::Nick -nick_find(channel, mask) +nick_find(channel, nick) + Irssi::Channel channel + char *nick +CODE: + RETVAL = nicklist_find(channel, nick); +OUTPUT: + RETVAL + +Irssi::Nick +nick_find_mask(channel, mask) Irssi::Channel channel char *mask CODE: - RETVAL = nicklist_find(channel, mask); + RETVAL = nicklist_find_mask(channel, mask); OUTPUT: RETVAL -- cgit v1.2.3