diff options
author | Timo Sirainen <cras@irssi.org> | 2001-12-06 21:14:06 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-12-06 21:14:06 +0000 |
commit | e173a416d2a228c5ea151c9ce8f2ba361bbd9de9 (patch) | |
tree | fa4ada9f06008b1241abcbcc86290c7bf126f2ec /src/perl/irc | |
parent | 2e78d926efe7148e46f99ab57c8aa16816e474c4 (diff) | |
download | irssi-e173a416d2a228c5ea151c9ce8f2ba361bbd9de9.zip |
Added some max_*_in_cmd + some more stuff to Irssi::Irc::Server record.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2202 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/irc')
-rw-r--r-- | src/perl/irc/Irc.xs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/perl/irc/Irc.xs b/src/perl/irc/Irc.xs index 7b6d0ae5..bbbe6908 100644 --- a/src/perl/irc/Irc.xs +++ b/src/perl/irc/Irc.xs @@ -13,6 +13,15 @@ static void perl_irc_server_fill_hash(HV *hv, IRC_SERVER_REC *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); + + hv_store(hv, "max_cmds_at_once", 17, newSViv(server->max_cmds_at_once), 0); + hv_store(hv, "cmd_queue_speed", 16, newSViv(server->cmd_queue_speed), 0); + hv_store(hv, "max_query_chans", 16, newSViv(server->max_query_chans), 0); + + hv_store(hv, "max_kicks_in_cmd", 16, newSViv(server->max_kicks_in_cmd), 0); + hv_store(hv, "max_msgs_in_cmd", 15, newSViv(server->max_msgs_in_cmd), 0); + hv_store(hv, "max_modes_in_cmd", 16, newSViv(server->max_modes_in_cmd), 0); + hv_store(hv, "max_whois_in_cmd", 16, newSViv(server->max_whois_in_cmd), 0); } static void perl_ban_fill_hash(HV *hv, BAN_REC *ban) |