aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2007-09-04 20:28:22 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2007-09-04 20:28:22 -0500
commit78d18dd18ee29a07ce128b4a0b707bc9585ed89f (patch)
tree65c5eeaa845a5e371a71fe386f0f4f71a2470434 /src
parentbb699d82353d1461fb95eaa4d9a1877b59bea987 (diff)
downloadluairc-78d18dd18ee29a07ce128b4a0b707bc9585ed89f.tar.gz
luairc-78d18dd18ee29a07ce128b4a0b707bc9585ed89f.zip
callback shouldn't be just "dcc" since it only happens on DCC SEND
Diffstat (limited to 'src')
-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