herpderp
This commit is contained in:
parent
7ba8001f27
commit
ba1adc207e
2
event.go
2
event.go
@ -131,7 +131,9 @@ func (e *Event) Copy() *Event {
|
||||
*newEvent = *e
|
||||
|
||||
// Copy Source field, as it's a pointer and needs to be dereferenced.
|
||||
if e.Source != nil {
|
||||
*newEvent.Source = *e.Source
|
||||
}
|
||||
|
||||
// Copy tags as necessary.
|
||||
if e.Tags != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user