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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/820e55644e70acfe6221cf9e32fc18ed4e0d3251/irc.js/buggy/extensions/irc/js/lib/irc.js