56 57 58 59 60 61 62 63 64
# File 'lib/Wiki2Go/GreyList.rb', line 56 def add(user,url) if url =~ /(:\/\/[^\/:]+)/ then url = $1 end url = escape_regex(url) @banned << Suspect.new(user,url) @banned = @banned.sort.uniq end