diff options
Diffstat (limited to 'src/perl/irc/Notifylist.xs')
-rw-r--r-- | src/perl/irc/Notifylist.xs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/perl/irc/Notifylist.xs b/src/perl/irc/Notifylist.xs index 2f830639..1951c125 100644 --- a/src/perl/irc/Notifylist.xs +++ b/src/perl/irc/Notifylist.xs @@ -4,11 +4,9 @@ void notifies() PREINIT: GSList *tmp; - HV *stash; PPCODE: - stash = gv_stashpv("Irssi::Irc::Notifylist", 0); for (tmp = notifies; tmp != NULL; tmp = tmp->next) { - push_bless(tmp->data, stash); + XPUSHs(sv_2mortal(plain_bless(tmp->data, "Irssi::Irc::Notifylist"))); } Irssi::Irc::Notifylist |