From f42fdb1a76db0c3901a721918041e94662e2b62a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnim=20L=C3=A4uger?= Date: Sat, 30 Jan 2016 10:23:27 +0100 Subject: [PATCH] also fix cb prototype description --- docs/en/modules/mqtt.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/modules/mqtt.md b/docs/en/modules/mqtt.md index c62ddbbc..874d158b 100644 --- a/docs/en/modules/mqtt.md +++ b/docs/en/modules/mqtt.md @@ -142,8 +142,8 @@ Publishes a message. Subscribes to one or several topics. #### Syntax -`mqtt:subscribe(topic, qos[, function(client, topic, message)])` -`mqtt:subscribe(table[, function(client, topic, message)])` +`mqtt:subscribe(topic, qos[, function(client)])` +`mqtt:subscribe(table[, function(client)])` #### Parameters - `topic` a [topic string](http://www.hivemq.com/blog/mqtt-essentials-part-5-mqtt-topics-best-practices)