mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 03:49:27 +01:00
update ergo to work with irc-go v0.1.0
This commit is contained in:
parent
74f3ea1d2e
commit
e3e8136f85
@ -83,7 +83,7 @@ func (m *MessageCache) Initialize(server *Server, serverTime time.Time, msgid st
|
||||
if config.Server.Compatibility.forceTrailing && commandsThatMustUseTrailing[command] {
|
||||
msg.ForceTrailing()
|
||||
}
|
||||
msg.Prefix = nickmask
|
||||
msg.Source = nickmask
|
||||
msg.Command = command
|
||||
msg.Params = make([]string, len(params))
|
||||
copy(msg.Params, params)
|
||||
@ -121,7 +121,7 @@ func (m *MessageCache) InitializeSplitMessage(server *Server, nickmask, accountN
|
||||
msg.ForceTrailing()
|
||||
}
|
||||
|
||||
msg.Prefix = nickmask
|
||||
msg.Source = nickmask
|
||||
msg.Command = command
|
||||
if isTagmsg {
|
||||
msg.Params = []string{target}
|
||||
@ -146,7 +146,7 @@ func (m *MessageCache) InitializeSplitMessage(server *Server, nickmask, accountN
|
||||
if forceTrailing {
|
||||
msg.ForceTrailing()
|
||||
}
|
||||
msg.Prefix = nickmask
|
||||
msg.Source = nickmask
|
||||
msg.Command = command
|
||||
msg.Params = make([]string, 2)
|
||||
msg.Params[0] = target
|
||||
|
Loading…
Reference in New Issue
Block a user