fix compilation error

This commit is contained in:
shoopea 2019-08-21 14:54:06 +08:00
parent a8a6df0553
commit 8c5b8d1cc6

2
msg.go
View File

@ -19,7 +19,7 @@ func getMsgParsingRule(m *ChatWarsMessage) (*MessageParsingRule, error) {
return nil, errors.New("Can't find message type in rules.")
} else {
r := msgParsingRules[i]
return r, nil
return &r, nil
}
}