Implement /rangelock

More info: http://www.smogon.com/forums/threads/3517493/
Yea do that

- V4

> On Sep 21, 2014, at 3:27 AM, $B>.B@(B <notifications@github.com> wrote:
> 
> In users.js:
> 
> > +		if (lockedHosts[host]) return;
> > +		if (!this.locked) this.lock();
> > +		lockedHosts[host] = 1;
> > +		lockedHostsUsers[host] = {};
> > +		for (var i in users) {
> > +			if (users[i].locked || users[i].autoconfirmed) continue;
> > +			var userHost = users[i].latestHost.split(".").slice(1).join(".");
> > +			if (host === userHost) {
> > +				lockedHostsUsers[host][users[i].userid] = users[i].latestIp;
> > +				users[i].lock(true);
> > +				users[i].hardlocked = true;
> > +				users[i].send("|popup|Your ISP is temporarily locked for all non-autoconfirmed users.\n\nA user is autoconfirmed when they have won at least one rated battle and have been registered for a week or longer.");
> > +			}
> > +		}
> > +
> > +		var time = 90 * 60000;
> Well, at the very least, do 90 * 60 * 1000
> 
> $B!=(B
> Reply to this email directly or view it on GitHub.