/part now gives a warning during active battles

This commit is contained in:
Guangcong Luo
2015-06-25 19:48:16 -04:00
parent 53bd58e18a
commit 37ca8f342a

View File

@@ -844,6 +844,11 @@
}
return text; // Send the /join command through to the server.
case 'part':
case 'leave':
if (this.requestLeave && !this.requestLeave()) return false;
return text;
case 'avatar':
var parts = target.split(',');
var avatar = parseInt(parts[0], 10);