summaryrefslogtreecommitdiff
path: root/src/perl/common/Channel.xs
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-19 19:36:21 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-19 19:36:21 +0000
commit3819189ef4c137ac4387fe0b7e7fb20314a994c3 (patch)
tree98a8997990754c8d11e4b6f4696dfcd3f3081d69 /src/perl/common/Channel.xs
parent99a6a85b858b2bced34396b840770c005cacf3ee (diff)
downloadirssi-3819189ef4c137ac4387fe0b7e7fb20314a994c3.zip
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
Diffstat (limited to 'src/perl/common/Channel.xs')
-rw-r--r--src/perl/common/Channel.xs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/perl/common/Channel.xs b/src/perl/common/Channel.xs
index 4763e708..f425dc2b 100644
--- a/src/perl/common/Channel.xs
+++ b/src/perl/common/Channel.xs
@@ -9,7 +9,7 @@ PREINIT:
GSList *tmp;
PPCODE:
for (tmp = channels; tmp != NULL; tmp = tmp->next) {
- XPUSHs(sv_2mortal(irssi_bless((CHANNEL_REC *) tmp->data)));
+ XPUSHs(sv_2mortal(iobject_bless((CHANNEL_REC *) tmp->data)));
}
Irssi::Channel
@@ -31,7 +31,7 @@ PREINIT:
GSList *tmp;
PPCODE:
for (tmp = server->channels; tmp != NULL; tmp = tmp->next) {
- XPUSHs(sv_2mortal(irssi_bless((CHANNEL_REC *) tmp->data)));
+ XPUSHs(sv_2mortal(iobject_bless((CHANNEL_REC *) tmp->data)));
}
void
@@ -65,8 +65,8 @@ PPCODE:
list = nicklist_get_same(server, nick);
for (tmp = list; tmp != NULL; tmp = tmp->next->next) {
- XPUSHs(sv_2mortal(irssi_bless((CHANNEL_REC *) tmp->data)));
- XPUSHs(sv_2mortal(irssi_bless((NICK_REC *) tmp->next->data)));
+ XPUSHs(sv_2mortal(iobject_bless((CHANNEL_REC *) tmp->data)));
+ XPUSHs(sv_2mortal(iobject_bless((NICK_REC *) tmp->next->data)));
}
g_slist_free(list);
@@ -119,6 +119,6 @@ PPCODE:
list = nicklist_getnicks(channel);
for (tmp = list; tmp != NULL; tmp = tmp->next) {
- XPUSHs(sv_2mortal(irssi_bless((NICK_REC *) tmp->data)));
+ XPUSHs(sv_2mortal(iobject_bless((NICK_REC *) tmp->data)));
}
g_slist_free(list);