Closed Lem closed 11 years ago
Please attach the whole stacktrace. process_dcc_send
in irc.rb
takes care of the integer -> IP translation. By the time it hits any methods in the actual DCC classes, it should be a correct string representation of an IP.
Ah dammit, never mind. found the bug.
Closed by e0b5b9a
Thanks for this fast fix :+1:
I tested to send a file from Irssi to Cinch.
Here the output of the bot
using
Of course I will get ArgumentError. 1372754541 is not an IP-address :D As descriped in http://irchelp.org/irchelp/rfc/dccspec.html Irssi will use an integer:
I changed in lib/cinch/dcc/incoming/send.rb the lines
to
and it seems to work with irssi, or at least the exception doesn't appear.