X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Firc.lua;h=b63a08cd9aae26f8a8d4431395d7a6573fe0c175;hb=47ec4ecd5fba333b515143aa853c7bf3f9cb61a9;hp=d8a18803e883123305d65a316fe36fe0c5e13cf1;hpb=78d18dd18ee29a07ce128b4a0b707bc9585ed89f;p=luairc.git diff --git a/src/irc.lua b/src/irc.lua index d8a1880..b63a08c 100644 --- a/src/irc.lua +++ b/src/irc.lua @@ -512,6 +512,7 @@ end -- loaded? function ctcp_handlers.on_dcc(from, to, message) local type, argument, address, port, size = base.unpack(misc._split(message, " ", nil, '"', '"')) + address = misc._ip_int_to_str(address) if type == "SEND" then if callback("dcc_send", from, to, argument, address, port, size) then dcc._accept(argument, address, port)