diff --git a/src/protocol.rs b/src/protocol.rs index e6297eb..3828813 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -88,8 +88,8 @@ impl Protocol { Err(_e) => return Err("ERR index not a number") }; let value = match arguments[2] { - "0" => true, - "1" => false, + "1" => true, + "0" => false, _ => return Err("ERR no value for segment") }; if RPI {