corrected protocol key and condition
corrected protocol key and condition

Signed-off-by: Octavian Ionescu <c20eb7b6dcd9111d8e72b79b3e42304a7e63614a@gmail.com>

wesley1001/MQTT.js,RangerMauve/MQTT.js,bqevin/MQTT.js,jaambee/MQTT.js,AdySan/MQTT.js,jdiamond/MQTT.js,itavy/MQTT.js,mcanthony/MQTT.js