From 3819189ef4c137ac4387fe0b7e7fb20314a994c3 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 19 Nov 2001 19:36:21 +0000 Subject: Irssi::Irc::Dcc::* is now correctly blessed instead of using Irssi::Irc::Dcc always. did s/irssi_bless/iobject_bless/, added simple_iobject_bless which DCC uses. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2092 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/perl/irc/Irc.xs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/perl/irc/Irc.xs') diff --git a/src/perl/irc/Irc.xs b/src/perl/irc/Irc.xs index 2f742fad..7b6d0ae5 100644 --- a/src/perl/irc/Irc.xs +++ b/src/perl/irc/Irc.xs @@ -28,12 +28,12 @@ static void perl_dcc_fill_hash(HV *hv, DCC_REC *dcc) hv_store(hv, "orig_type", 9, new_pv(dcc_type2str(dcc->orig_type)), 0); hv_store(hv, "created", 7, newSViv(dcc->created), 0); - hv_store(hv, "server", 6, irssi_bless(dcc->server), 0); + hv_store(hv, "server", 6, iobject_bless(dcc->server), 0); hv_store(hv, "servertag", 9, new_pv(dcc->servertag), 0); hv_store(hv, "mynick", 6, new_pv(dcc->mynick), 0); hv_store(hv, "nick", 4, new_pv(dcc->nick), 0); - hv_store(hv, "chat", 4, dcc_bless(dcc->chat), 0); + hv_store(hv, "chat", 4, simple_iobject_bless(dcc->chat), 0); hv_store(hv, "target", 6, new_pv(dcc->target), 0); hv_store(hv, "arg", 3, new_pv(dcc->arg), 0); @@ -110,7 +110,7 @@ static void perl_netsplit_server_fill_hash(HV *hv, NETSPLIT_SERVER_REC *rec) static void perl_netsplit_channel_fill_hash(HV *hv, NETSPLIT_CHAN_REC *rec) { hv_store(hv, "name", 4, new_pv(rec->name), 0); - hv_store(hv, "nick", 4, irssi_bless(&rec->nick), 0); + hv_store(hv, "nick", 4, iobject_bless(&rec->nick), 0); } static void perl_notifylist_fill_hash(HV *hv, NOTIFYLIST_REC *notify) -- cgit v1.2.3