diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-12 14:49:21 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-12 14:49:21 +0000 |
commit | 0dd98581b623321f8d69b796b47d5fa4a6b3d49c (patch) | |
tree | 707e970f41dbbb20f9f4abe4217eeffc43825f37 /src/perl/irc | |
parent | 381f410058283c74fd433b6e3bfee30e17bad820 (diff) | |
download | irssi-0dd98581b623321f8d69b796b47d5fa4a6b3d49c.zip |
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
Diffstat (limited to 'src/perl/irc')
-rw-r--r-- | src/perl/irc/Server.xs | 4 |
1 files 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 * |