]> git.lizzy.rs Git - luairc.git/blobdiff - src/irc.lua
stop passing file size all over the place... on accept we just keep accepting until...
[luairc.git] / src / irc.lua
index 2b2bca7a9682085132dd0bfd3bee623e52cf2a8f..ff90c363fc007cf27353cfd76390334b405a31ca 100644 (file)
@@ -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?