mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 03:49:27 +01:00
Make batch IDs smaller
This commit is contained in:
parent
07fc902b21
commit
00099eb4ba
@ -38,7 +38,7 @@ func (bm *BatchManager) NewID() string {
|
||||
bm.idCounter = 0
|
||||
}
|
||||
|
||||
return strconv.FormatInt(time.Now().UnixNano(), 10) + strconv.FormatUint(bm.idCounter, 10)
|
||||
return strconv.FormatInt(time.Now().UnixNano(), 36) + strconv.FormatUint(bm.idCounter, 36)
|
||||
}
|
||||
|
||||
// Batch represents an IRCv3 batch.
|
||||
|
Loading…
Reference in New Issue
Block a user