Browse Source

Make batch IDs smaller

tags/v0.11.0-beta
Daniel Oaks 6 years ago
parent
commit
00099eb4ba
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      irc/batch.go

+ 1
- 1
irc/batch.go View File

38
 		bm.idCounter = 0
38
 		bm.idCounter = 0
39
 	}
39
 	}
40
 
40
 
41
-	return strconv.FormatInt(time.Now().UnixNano(), 10) + strconv.FormatUint(bm.idCounter, 10)
41
+	return strconv.FormatInt(time.Now().UnixNano(), 36) + strconv.FormatUint(bm.idCounter, 36)
42
 }
42
 }
43
 
43
 
44
 // Batch represents an IRCv3 batch.
44
 // Batch represents an IRCv3 batch.

Loading…
Cancel
Save