Commit 01edbb8a authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman 💥
Browse files

Fixed another improper usage of &.

parent 2f38b5d4
......@@ -152,7 +152,7 @@ module Aprs
def read(*args, **kwargs)
@lock.synchronize do
frame =*args, **kwargs)
if frame&.length
if frame and frame.length > 0
return AprsKiss.decode_frame(frame)
return nil
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