mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Recognise a param of signal_emit from perl if it's an int
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3311 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3beaacf9ee
commit
64c6af7865
@ -75,6 +75,8 @@ CODE:
|
||||
p[n-1] = irssi_ref_object(ST(n));
|
||||
else if (SvROK(ST(n)))
|
||||
p[n-1] = (void *) SvIV((SV*)SvRV(ST(n)));
|
||||
else if (SvIOK(ST(n)))
|
||||
p[n-1] = (void *)SvIV(ST(n));
|
||||
else
|
||||
p[n-1] = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user