/usr/share/eiskaltdcpp/luascripts/search_reply.lua is in eiskaltdcpp-scripts 2.2.9-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | dcpp:setListener( "Raw", "search_reply",
function(hub, msg)
r,_,ip_port,filename = string.find(msg, "^%$Search ([0-9.:]*) F%?T%?0%?[^9]%?(.*)")
if r then
sr = GetSR(" ()", ip_port, "foo", string.gsub(filename, "%$", " "), "0", "0", "0")
DC():PrintDebug(sr)
end
end
-- DC():SendUDP(ip:port, msg)
)
DC():PrintDebug(" ** Loaded search_reply.lua **")
|