summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-12-09 00:41:33 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-12-09 00:41:33 +0000
commitac8109ac9e4c72b87cd17759e92b010eac61fa4f (patch)
treea71452ae230e8aa256bd27c9743ed6fcd3dddace /src
parent9f4ba1f5d9134cb127c4e28e731870d07d77a597 (diff)
downloadirssi-ac8109ac9e4c72b87cd17759e92b010eac61fa4f.zip
fixed wrong hash key lengths, patch by peder@ifi.uio.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2224 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/perl/irc/Irc.xs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/perl/irc/Irc.xs b/src/perl/irc/Irc.xs
index bbbe6908..554065bc 100644
--- a/src/perl/irc/Irc.xs
+++ b/src/perl/irc/Irc.xs
@@ -14,9 +14,9 @@ static void perl_irc_server_fill_hash(HV *hv, IRC_SERVER_REC *server)
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_cmds_at_once", 16, newSViv(server->max_cmds_at_once), 0);
+ hv_store(hv, "cmd_queue_speed", 15, newSViv(server->cmd_queue_speed), 0);
+ hv_store(hv, "max_query_chans", 15, 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);