Skip to content

Commit 2a17117

Browse files
committed
Fix setting end-of-event false after its true
1 parent a1a1936 commit 2a17117

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/sippy_cup/media/dtmf_payload.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def end_of_event=(bool)
2424
if bool
2525
@flags |= END_OF_EVENT
2626
else
27-
@flags &= (0xf - END_OF_EVENT)
27+
@flags &= ~END_OF_EVENT
2828
end
2929
end
3030

0 commit comments

Comments
 (0)