clean up constant redefinition

This commit is contained in:
Shivaram Lingamneni 2025-05-23 00:18:36 -04:00
parent a1c46a4be7
commit 253972a9d2
5 changed files with 10 additions and 11 deletions

View file

@ -45,7 +45,7 @@ type MessageCache struct {
func addAllTags(msg *ircmsg.Message, tags map[string]string, serverTime time.Time, msgid, accountName string, isBot bool) {
msg.UpdateTags(tags)
msg.SetTag("time", serverTime.Format(IRCv3TimestampFormat))
msg.SetTag("time", serverTime.Format(utils.IRCv3TimestampFormat))
if accountName != "*" {
msg.SetTag("account", accountName)
}