From bd87a1d0e5d5188446a594639ee7e5e5b55a74b7 Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Sun, 2 Sep 2007 19:59:45 -0500 Subject: stop passing file size all over the place... on accept we just keep accepting until they stop sending us data, and when we are sending stuff we just send until eof, so it shouldn't be necessary. (need to test the eof stuff to make sure that's actually accurate). --- src/irc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irc.lua') diff --git a/src/irc.lua b/src/irc.lua index 2b2bca7..ff90c36 100644 --- a/src/irc.lua +++ b/src/irc.lua @@ -502,7 +502,7 @@ function ctcp_handlers.on_dcc(from, to, message) local type, argument, address, port, size = base.unpack(misc.split(message, " ", nil, '"', '"')) if type == "SEND" then if misc.try_call(on_dcc, from, to, argument, address, port, size) then - dcc.accept(argument, address, port, size) + dcc.accept(argument, address, port) end elseif type == "CHAT" then -- TODO: implement this? do people ever use this? -- cgit v1.2.3-54-g00ecf