mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
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
This commit is contained in:
parent
381f410058
commit
0dd98581b6
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user