Make batch IDs smaller

This commit is contained in:
Daniel Oaks 2018-01-28 00:45:16 +10:00
parent 07fc902b21
commit 00099eb4ba
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ func (bm *BatchManager) NewID() string {
bm.idCounter = 0 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. // Batch represents an IRCv3 batch.