1
0
Fork 0
forked from External/ergo

fix TAGMSG playback

1. TAGMSG were incorrectly being considered multilines, because
   Is512() was checking the wrong thing
2. Playback of TAGMSG should depend on event-playback, not on message-tags
This commit is contained in:
Shivaram Lingamneni 2020-05-22 10:58:46 -04:00
parent 4595ed68a9
commit 2f20034bb7
4 changed files with 9 additions and 4 deletions

View file

@ -90,7 +90,7 @@ func (sm *SplitMessage) IsRestrictedCTCPMessage() bool {
}
func (sm *SplitMessage) Is512() bool {
return sm.Message != ""
return sm.Split == nil
}
// TokenLineBuilder is a helper for building IRC lines composed of delimited tokens,