mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 00:22:17 +02:00
"return 1" doesn't anymore stop signals in perl scripts. Fixed
Irssi::signal_stop() to properly stop the signal from going to other perl scripts. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1086 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
a2d9661982
commit
14dbcd00bf
4 changed files with 20 additions and 18 deletions
|
|
@ -317,7 +317,7 @@ static int perl_source_event(PERL_SOURCE_REC *rec)
|
|||
XPUSHs(sv_2mortal(new_pv(rec->data)));
|
||||
PUTBACK;
|
||||
|
||||
retcount = perl_call_pv(rec->func, G_EVAL|G_SCALAR);
|
||||
retcount = perl_call_pv(rec->func, G_EVAL|G_DISCARD);
|
||||
SPAGAIN;
|
||||
|
||||
if (SvTRUE(ERRSV)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue