3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00
This commit is contained in:
Shivaram Lingamneni 2020-04-24 01:33:21 -04:00
parent 9a6e3025c2
commit 4722f8a96c

View File

@ -1284,6 +1284,8 @@ func (channel *Channel) SendSplitMessage(command string, minPrefixMode modes.Mod
}
}
// #959: don't save STATUSMSG
if minPrefixMode == modes.Mode(0) {
channel.AddHistoryItem(history.Item{
Type: histType,
Message: message,
@ -1291,6 +1293,7 @@ func (channel *Channel) SendSplitMessage(command string, minPrefixMode modes.Mod
AccountName: account,
Tags: clientOnlyTags,
})
}
}
func (channel *Channel) applyModeToMember(client *Client, change modes.ModeChange, rb *ResponseBuffer) (applied bool, result modes.ModeChange) {