URI: 
       Correct how multiple lines of input are handled for dial jobs - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
   DIR commit e925b0ad1a5b8ed9fbfe16bd885512f415f1e9c2
   DIR parent 3693a128c65ac0ad649438031bf315e6933e208c
  HTML Author: HD Moore <hd_moore@rapid7.com>
       Date:   Sun,  5 Feb 2012 12:54:48 -0600
       
       Correct how multiple lines of input are handled for dial jobs
       
       Diffstat:
         M lib/warvox/phone.rb                 |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/lib/warvox/phone.rb b/lib/warvox/phone.rb
       @@ -3,7 +3,9 @@ class Phone
        
                # Convert 123456XXXX to an array of expanded numbers
                def self.crack_mask(mask)
       -                self.crack_masks([mask])
       +                masks = mask.split(/[\s,]+/) || [ ]
       +                masks.delete(nil)
       +                self.crack_masks(masks)
                end
                
                def self.crack_masks(masks)