]> git.lizzy.rs Git - luairc.git/commitdiff
a few todos for the dcc implementation
authorjluehrs2 <jluehrs2@uiuc.edu>
Sun, 2 Sep 2007 22:23:16 +0000 (17:23 -0500)
committerjluehrs2 <jluehrs2@uiuc.edu>
Sun, 2 Sep 2007 22:23:16 +0000 (17:23 -0500)
src/irc/dcc.lua

index 2836b68b5006713abb0d0290afbf1c60f927f615..45eb446c81adf5fa9de619d778966e61323a0907 100644 (file)
@@ -23,6 +23,9 @@ LAST_PORT = 5000
 
 -- private functions {{{
 -- send_file {{{
+-- TODO: no reason to be sending the size parameter all over the place when we
+-- only need it in this function. also, should probably seek to the beginning
+-- of the file before sending it.
 --
 -- Sends a file to a remote user, after that user has accepted our DCC SEND
 -- invitation
@@ -140,6 +143,7 @@ end
 -- }}}
 
 -- accept {{{
+-- TODO: this shouldn't be a public function
 --
 -- Accepts a file offer from a remote user. Called when the on_dcc callback
 -- retuns true.