aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2007-09-02 17:23:16 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2007-09-02 17:23:16 -0500
commit43ca8ab69a3a948add1f5d7f29c869e82924d160 (patch)
tree118ef68218d0e4c733275478309c8e7110b1847f /src
parent06d1e0d9e71e9a50ac17f4a28510bdbb7f1c2dda (diff)
downloadluairc-43ca8ab69a3a948add1f5d7f29c869e82924d160.tar.gz
luairc-43ca8ab69a3a948add1f5d7f29c869e82924d160.zip
a few todos for the dcc implementation
Diffstat (limited to 'src')
-rw-r--r--src/irc/dcc.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/irc/dcc.lua b/src/irc/dcc.lua
index 2836b68..45eb446 100644
--- a/src/irc/dcc.lua
+++ b/src/irc/dcc.lua
@@ -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.