Commit 877cad60 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman 💥
Browse files

Cleaned up a few more instances of improper &.

parent 1e1bd763
......@@ -18,10 +18,10 @@ module Kiss
while frame[0] == DATA_FRAME
frame.shift
end
while frame[0]&.chr == ' '
while frame[0] and frame[0].chr == ' '
frame.shift
end
while frame[-1]&.chr == ' '
while frame[-1] and frame[-1].chr == ' '
frame.pop
end
frame
......
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