summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-03-11 16:44:42 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-03-11 16:44:42 +0000
commit5fde51a364813cd1c5c4e7f3a45b9bdf667d5e64 (patch)
tree03ca1163e63df66c8fa9e88e3da53099be502cc3
parent022f1db56fcd02f7c6082685beade28350f897be (diff)
downloadirssi-5fde51a364813cd1c5c4e7f3a45b9bdf667d5e64.zip
added ownnick to Irssi::Channel
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2583 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/perl/perl-common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/perl/perl-common.c b/src/perl/perl-common.c
index 76fa3f3f..cb5f0987 100644
--- a/src/perl/perl-common.c
+++ b/src/perl/perl-common.c
@@ -340,6 +340,9 @@ void perl_channel_fill_hash(HV *hv, CHANNEL_REC *channel)
perl_window_item_fill_hash(hv, (WI_ITEM_REC *) channel);
+ if (channel->ownnick != NULL)
+ hv_store(hv, "ownnick", 7, iobject_bless(channel->ownnick), 0);
+
hv_store(hv, "topic", 5, new_pv(channel->topic), 0);
hv_store(hv, "topic_by", 8, new_pv(channel->topic_by), 0);
hv_store(hv, "topic_time", 10, newSViv(channel->topic_time), 0);