mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
irssi_bless() crashed with NULL parameter
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@973 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e95f309b50
commit
e9db7e54a2
@ -17,7 +17,8 @@
|
||||
XPUSHs(sv_2mortal(new_bless(obj, stash)))
|
||||
|
||||
#define irssi_bless(object) \
|
||||
irssi_bless_object((object)->type, (object)->chat_type, object)
|
||||
((object) == NULL ? &PL_sv_undef : \
|
||||
irssi_bless_object((object)->type, (object)->chat_type, object))
|
||||
|
||||
/* returns the package who called us */
|
||||
char *perl_get_package(void);
|
||||
|
Loading…
Reference in New Issue
Block a user