Skip to content
Snippets Groups Projects
Commit a5738443 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix MQTT action/newuser msg topic

parent edca6fe1
Branches
Tags
No related merge requests found
......@@ -453,7 +453,7 @@ BOOL sbbs_t::newuser()
snprintf(str, sizeof(str), "%u\t%s"
,useron.number, useron.alias);
char topic[128];
snprintf(str, sizeof(str), "newuser/%s", client.protocol);
snprintf(topic, sizeof(topic), "newuser/%s", client.protocol);
mqtt_pub_timestamped_msg(mqtt, TOPIC_BBS_ACTION, topic, answertime, str);
if(cfg.new_sif[0]) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment