add: else hostmask = hostmask.replace(/[^.]+$/, "*"); 
context: function usr_banmask(){    var hostmask = this.host;    if (!/^\d+\.\d+\.\d+\.\d+$/.test(hostmask))        hostmask = hostmask.replace(/^[^.]+/, "*");    return "*!" + this.name + "@" + hostmask;}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/ff62fbb93731a873ca209f417831b7e70442ef82/irc.js/buggy/js/lib/irc.js