fix compilation error
This commit is contained in:
parent
a8a6df0553
commit
8c5b8d1cc6
2
msg.go
2
msg.go
@ -19,7 +19,7 @@ func getMsgParsingRule(m *ChatWarsMessage) (*MessageParsingRule, error) {
|
|||||||
return nil, errors.New("Can't find message type in rules.")
|
return nil, errors.New("Can't find message type in rules.")
|
||||||
} else {
|
} else {
|
||||||
r := msgParsingRules[i]
|
r := msgParsingRules[i]
|
||||||
return r, nil
|
return &r, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user