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

Lowercase the action/newuser/<protocol> topic

Be consistent with the other action/* topics.
parent 3db4924e
Branches
Tags
No related merge requests found
......@@ -454,6 +454,7 @@ BOOL sbbs_t::newuser()
,useron.number, useron.alias);
char topic[128];
snprintf(topic, sizeof(topic), "newuser/%s", client.protocol);
strlwr(topic);
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