From 0dd98581b623321f8d69b796b47d5fa4a6b3d49c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 12 Nov 2001 14:49:21 +0000 Subject: [PATCH] redirect_event() fixed to change empty arg/failure_signal to NULL git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1994 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/perl/irc/Server.xs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/perl/irc/Server.xs b/src/perl/irc/Server.xs index 40405955..66045bb9 100644 --- a/src/perl/irc/Server.xs +++ b/src/perl/irc/Server.xs @@ -101,8 +101,8 @@ server_redirect_event(server, command, arg, remote, failure_signal, signals) char *failure_signal void *signals CODE: - server_redirect_event_list(server, command, arg, remote, - failure_signal, + server_redirect_event_list(server, command, *arg == '\0' ? NULL : arg, remote, + *failure_signal == '\0' ? NULL : failure_signal, event_hash2list(hvref(ST(5)))); char *