cinch 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/cinch/irc.rb +1 -1
- data/lib/cinch/version.rb +1 -1
- metadata +1 -1
data/lib/cinch/irc.rb
CHANGED
|
@@ -551,7 +551,7 @@ module Cinch
|
|
|
551
551
|
|
|
552
552
|
# @since 2.0.0
|
|
553
553
|
def process_dcc_send(filename, ip, port, size, m, events)
|
|
554
|
-
if ip =~ /^\d
|
|
554
|
+
if ip =~ /^\d+$/
|
|
555
555
|
# If ip is a single integer, assume it's a specification
|
|
556
556
|
# compliant IPv4 address in network byte order. If it's any
|
|
557
557
|
# other string, assume that it's a valid IPv4 or IPv6 address.
|
data/lib/cinch/version.rb
CHANGED