mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
clean up constant redefinition
This commit is contained in:
parent
a1c46a4be7
commit
253972a9d2
5 changed files with 10 additions and 11 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue