diff options
author | Timo Sirainen <cras@irssi.org> | 2000-12-09 20:54:47 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-12-09 20:54:47 +0000 |
commit | 5dcd6833242a88cbf0fdbcfa6a25fbe3bad77426 (patch) | |
tree | 2f9431cda59df10bcb6f80e2e5e662beead43e73 /src/perl/irc/IrcServer.xs | |
parent | 8d98e80a6b914c6e1708b2ccc5cfd49e0ed43584 (diff) | |
download | irssi-5dcd6833242a88cbf0fdbcfa6a25fbe3bad77426.zip |
fixes, perl should work correctly now :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@982 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/irc/IrcServer.xs')
-rw-r--r-- | src/perl/irc/IrcServer.xs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/perl/irc/IrcServer.xs b/src/perl/irc/IrcServer.xs index c39abaa4..9ee76c2f 100644 --- a/src/perl/irc/IrcServer.xs +++ b/src/perl/irc/IrcServer.xs @@ -27,36 +27,9 @@ send_raw_split(server, cmd, nickarg, max_nicks) CODE: irc_send_cmd_split(server, cmd, nickarg, max_nicks); -void -init(server) - Irssi::Irc::Server server -PREINIT: - HV *hv; -CODE: - hv = hvref(ST(0)); - if (hv != NULL) { - perl_server_fill_hash(hv, server); - - hv_store(hv, "real_address", 12, new_pv(server->real_address), 0); - hv_store(hv, "usermode", 8, new_pv(server->usermode), 0); - hv_store(hv, "userhost", 8, new_pv(server->userhost), 0); - } - MODULE = Irssi::Irc PACKAGE = Irssi::Irc::Connect PREFIX = irc_server_ Irssi::Irc::Server irc_server_connect(conn) Irssi::Irc::Connect conn - -void -init(conn) - Irssi::Irc::Connect conn -PREINIT: - HV *hv; -CODE: - hv = hvref(ST(0)); - if (hv != NULL) { - perl_connect_fill_hash(hv, conn); - hv_store(hv, "alternate_nick", 14, new_pv(conn->alternate_nick), 0); - } |