Fixed String instead of str error in server, and empty channel bug

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-27 02:58:38 +02:00
parent f23d40d629
commit cbcdfdbc41
3 changed files with 5 additions and 3 deletions

View File

@@ -736,7 +736,7 @@ function uniqueID(seed, minlen){
var id = rndName(seed, len);
while( contains(unique_ids, id) && len<=8){
id = rndName(str(len)+id, len);
id = rndName(String(len)+id, len);
len += 0.1; // try 10 times at each length
}