summary refs log tree commit diff stats
path: root/plugins/perl
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-03-16 22:41:40 +0100
committerBerke Viktor <bviktor@hexchat.org>2013-03-16 22:41:40 +0100
commit60d7e8e32022ee2c3f2808e64a47fd17df746cca (patch)
tree366b1166aa1abde47d62af69897aa8251b4ac416 /plugins/perl
parent7cf4778aaaedecb8de339ccfd74875c3a2301e1b (diff)
Backport XChat r1523
Diffstat (limited to 'plugins/perl')
-rw-r--r--plugins/perl/perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c
index bda3f6f2..ccc96a64 100644
--- a/plugins/perl/perl.c
+++ b/plugins/perl/perl.c
@@ -1042,7 +1042,7 @@ XS (XS_Xchat_hook_fd)
 
 	dXSARGS;
 
-	if (items != 4) {
+	if (items != 5) {
 		hexchat_print (ph,
 						 "Usage: Xchat::Internal::hook_fd(fd, callback, flags, userdata)");
 	} else {