mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
commit
cae739fd2e
@ -1284,13 +1284,16 @@ func (channel *Channel) SendSplitMessage(command string, minPrefixMode modes.Mod
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
channel.AddHistoryItem(history.Item{
|
// #959: don't save STATUSMSG
|
||||||
Type: histType,
|
if minPrefixMode == modes.Mode(0) {
|
||||||
Message: message,
|
channel.AddHistoryItem(history.Item{
|
||||||
Nick: nickmask,
|
Type: histType,
|
||||||
AccountName: account,
|
Message: message,
|
||||||
Tags: clientOnlyTags,
|
Nick: nickmask,
|
||||||
})
|
AccountName: account,
|
||||||
|
Tags: clientOnlyTags,
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (channel *Channel) applyModeToMember(client *Client, change modes.ModeChange, rb *ResponseBuffer) (applied bool, result modes.ModeChange) {
|
func (channel *Channel) applyModeToMember(client *Client, change modes.ModeChange, rb *ResponseBuffer) (applied bool, result modes.ModeChange) {
|
||||||
|
Loading…
Reference in New Issue
Block a user