msgstore_memory: add comment about Append dropping messages
git-svn-id: file:///srv/svn/repo/suika/trunk@669 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
parent
9d44ab9586
commit
34689ca82d
@ -77,6 +77,8 @@ func (ms *memoryMessageStore) LastMsgID(network *Network, entity string, t time.
|
||||
func (ms *memoryMessageStore) Append(network *Network, entity string, msg *irc.Message) (string, error) {
|
||||
switch msg.Command {
|
||||
case "PRIVMSG", "NOTICE":
|
||||
// Only append these messages, because LoadLatestID shouldn't return
|
||||
// other kinds of message.
|
||||
default:
|
||||
return "", nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user