From edbec382c5c1955cd1d9ccd8b72b423aff87e791 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 7 Dec 2007 13:00:18 +0000 Subject: New Irc Framework: netmask generalization now takes into consideration AzzurraNet host shadowing --- lib/rbot/irc.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/rbot') diff --git a/lib/rbot/irc.rb b/lib/rbot/irc.rb index 9ce57816..78c154ec 100644 --- a/lib/rbot/irc.rb +++ b/lib/rbot/irc.rb @@ -772,6 +772,7 @@ module Irc h.sub!(/x-\w+$/, 'x-*') else h.match(/^[^\.]+\.[^\.]+$/) or + h.sub!(/azzurra[=-][0-9a-f]+/i, '*') or # hello, azzurra, you suck! h.sub!(/^(\d+\.\d+\.\d+\.)\d+$/, '\1*') or h.sub!(/^[^\.]+\./, '*.') end -- cgit v1.2.3