summaryrefslogtreecommitdiff
path: root/src/perl
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-28 01:45:31 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-28 01:45:31 +0000
commit4cbabe2a83541fec27679cfd23fb460af279c84e (patch)
treea7edea79e06a7e91016c5d9a0701b5b2bf970ef4 /src/perl
parentdb03c25952ba36c42bf9b74ccbc980bd3212ad2d (diff)
downloadirssi-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/perl')
-rw-r--r--src/perl/common/Channel.xs13
1 files changed, 11 insertions, 2 deletions
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