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

Fix MQTT action/newuser msg topic

parent a2034ad0
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3748 passed
......@@ -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.
Finish editing this message first!
Please register or to comment