From e192181ac8dc1306d95d374df7fa1b36e3a5b8ba Mon Sep 17 00:00:00 2001 From: Oliver Jakoubek Date: Thu, 9 Jul 2020 11:37:47 +0200 Subject: [PATCH] Made receiver name consistent with previous receiver names --- route_list.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/route_list.go b/route_list.go index 19298ab..893d956 100644 --- a/route_list.go +++ b/route_list.go @@ -78,17 +78,17 @@ func NewRouteListEntry() *RouteListEntry { // Payload returns the formatted FERAG string // for embedding in the message -func (rl *RouteListEntry) Payload() string { - data := rl.RouteName() - data += rl.RouteCode() - data += rl.RampNumber() - data += rl.CopiesInRoute() +func (r *RouteListEntry) Payload() string { + data := r.RouteName() + data += r.RouteCode() + data += r.RampNumber() + data += r.CopiesInRoute() return data } // Message returns the formatted FERAG string // for the complete route list entry -func (rl *RouteListEntry) Message() string { - message := rl.FeragMessage.MessageTemplate() - return message(&rl.FeragMessage, rl.Payload()) +func (r *RouteListEntry) Message() string { + message := r.FeragMessage.MessageTemplate() + return message(&r.FeragMessage, r.Payload()) }