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.
Files changed (3) hide show
  1. data/lib/cinch/irc.rb +1 -1
  2. data/lib/cinch/version.rb +1 -1
  3. 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
@@ -1,4 +1,4 @@
1
1
  module Cinch
2
2
  # Version of the library
3
- VERSION = '2.0.8'
3
+ VERSION = '2.0.9'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinch
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: