mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-26 05:49:25 +01:00
commit
cae739fd2e
@ -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,
|
||||
@ -1292,6 +1294,7 @@ func (channel *Channel) SendSplitMessage(command string, minPrefixMode modes.Mod
|
||||
Tags: clientOnlyTags,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func (channel *Channel) applyModeToMember(client *Client, change modes.ModeChange, rb *ResponseBuffer) (applied bool, result modes.ModeChange) {
|
||||
target := channel.server.clients.Get(change.Arg)
|
||||
|
Loading…
Reference in New Issue
Block a user