Commit 2f38b5d4 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman 💥
Browse files

Corrected an improper use of &.

parent a92b82e8
......@@ -63,7 +63,7 @@ module Aprs
(2...start).each do |i|
path = identity_as_string(extract_callsign(raw_frame[i * 7..-1]))
if path&.length
if path and path.length > 0
if raw_frame[i * 7 + 6] & 0x80 != 0
full_path << [path, '*'].join
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment