cinch 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- 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