aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/irc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irc.lua b/src/irc.lua
index 80eb59b..2b2bca7 100644
--- a/src/irc.lua
+++ b/src/irc.lua
@@ -496,6 +496,8 @@ end
-- }}}
-- on_dcc {{{
+-- TODO: can we not have this handler be registered unless the dcc module is
+-- loaded?
function ctcp_handlers.on_dcc(from, to, message)
local type, argument, address, port, size = base.unpack(misc.split(message, " ", nil, '"', '"'))
if type == "SEND" then