summaryrefslogtreecommitdiff
path: root/src/perl/irc
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2003-12-10 22:59:45 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2003-12-10 22:59:45 +0000
commit5bbeffbcbd3b6a90340ae3f0fb02c6a88fe8fbf5 (patch)
treea8f8e7480353fca93aee6a259dea1c6540925ce4 /src/perl/irc
parent06e771c9b07877c12b2313daa45a7e64ba205f99 (diff)
downloadirssi-5bbeffbcbd3b6a90340ae3f0fb02c6a88fe8fbf5.zip
Added Irssi::Irc::Dcc::Server support
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3193 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/irc')
-rw-r--r--src/perl/irc/Irc.xs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/perl/irc/Irc.xs b/src/perl/irc/Irc.xs
index f73a92ff..02ab2c6f 100644
--- a/src/perl/irc/Irc.xs
+++ b/src/perl/irc/Irc.xs
@@ -184,11 +184,14 @@ CODE:
irssi_add_object(module_get_uniq_id_str("DCC", "SEND"),
0, "Irssi::Irc::Dcc::Send",
(PERL_OBJECT_FUNC) perl_dcc_send_fill_hash);
+ irssi_add_object(module_get_uniq_id_str("DCC", "SERVER"),
+ 0, "Irssi::Irc::Dcc::Server",
+ (PERL_OBJECT_FUNC) perl_dcc_send_fill_hash);
irssi_add_plains(irc_plains);
-
perl_eval_pv("@Irssi::Irc::Dcc::Chat::ISA = qw(Irssi::Irc::Dcc);\n"
"@Irssi::Irc::Dcc::Get::ISA = qw(Irssi::Irc::Dcc);\n"
- "@Irssi::Irc::Dcc::Send::ISA = qw(Irssi::Irc::Dcc);\n",
+ "@Irssi::Irc::Dcc::Send::ISA = qw(Irssi::Irc::Dcc);\n"
+ "@Irssi::Irc::Dcc::Server::ISA = qw(Irssi::Irc::Dcc);\n",
TRUE);
void