aboutsummaryrefslogtreecommitdiffstats
path: root/src/irc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc.lua')
-rw-r--r--src/irc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc.lua b/src/irc.lua
index 40df543..d8a1880 100644
--- a/src/irc.lua
+++ b/src/irc.lua
@@ -513,7 +513,7 @@ end
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 callback("dcc", from, to, argument, address, port, size) then
+ if callback("dcc_send", from, to, argument, address, port, size) then
dcc._accept(argument, address, port)
end
elseif type == "CHAT" then