Minor bugfix
This commit is contained in:
parent
58a01fe89f
commit
41f024616c
|
@ -68,7 +68,7 @@ func (m *Message) String() string {
|
|||
args += " " + arg
|
||||
}
|
||||
if m.Trail != "" {
|
||||
return fmt.Sprintf(":%s %s%s :%s", m.Pre, m.Cmd, args, m.Trail)
|
||||
return fmt.Sprintf(":%s %s%s :%s", m.Pre, m.Cmd, args, strings.Replace(m.Trail, "%", "%%", -1))
|
||||
}
|
||||
return fmt.Sprintf(":%s %s%s", m.Pre, m.Cmd, args)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue