forked from External/ergo
deprecate message truncation
Implements #1577, but the issue should remain open until we clean up the debugging loglines.
This commit is contained in:
parent
6fae02d335
commit
03185ea4a9
12 changed files with 148 additions and 29 deletions
|
|
@ -54,7 +54,7 @@ func addAllTags(msg *ircmsg.IRCMessage, tags map[string]string, serverTime time.
|
|||
}
|
||||
|
||||
func (m *MessageCache) handleErr(server *Server, err error) bool {
|
||||
if err != nil {
|
||||
if !(err == nil || err == ircmsg.ErrorBodyTooLong) {
|
||||
server.logger.Error("internal", "Error assembling message for sending", err.Error())
|
||||
// blank these out so Send will be a no-op
|
||||
m.fullTags = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue