summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 {