mirror of
https://github.com/irssi/irssi.git
synced 2024-08-18 03:54:16 -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
|
char *failure_signal
|
||||||
void *signals
|
void *signals
|
||||||
CODE:
|
CODE:
|
||||||
server_redirect_event_list(server, command, arg, remote,
|
server_redirect_event_list(server, command, *arg == '\0' ? NULL : arg, remote,
|
||||||
failure_signal,
|
*failure_signal == '\0' ? NULL : failure_signal,
|
||||||
event_hash2list(hvref(ST(5))));
|
event_hash2list(hvref(ST(5))));
|
||||||
|
|
||||||
char *
|
char *
|
||||||
|
Loading…
Reference in New Issue
Block a user