Remove duplicate match
This commit is contained in:
parent
a77f8d28f9
commit
1638aff0f9
|
@ -63,8 +63,6 @@ validate(?PUBLISH_PACKET(_QoS, Topic, _, Properties, _)) ->
|
||||||
|
|
||||||
validate(?CONNECT_PACKET(#mqtt_packet_connect{properties = #{'Receive-Maximum' := 0}})) ->
|
validate(?CONNECT_PACKET(#mqtt_packet_connect{properties = #{'Receive-Maximum' := 0}})) ->
|
||||||
error(protocol_error);
|
error(protocol_error);
|
||||||
validate(?CONNECT_PACKET(#mqtt_packet_connect{properties = #{'Receive-Maximum' := _}})) ->
|
|
||||||
true;
|
|
||||||
|
|
||||||
validate(_Packet) ->
|
validate(_Packet) ->
|
||||||
true.
|
true.
|
||||||
|
|
Loading…
Reference in New Issue