From 37b42f98da81b7efae649dff27aa5e22b202ec4c Mon Sep 17 00:00:00 2001
From: "Rob Swindell (in GitKraken)" <rob@synchro.net>
Date: Sun, 19 Feb 2023 01:34:25 -0800
Subject: [PATCH] Lowercase the action/newuser/<protocol> topic

Be consistent with the other action/* topics.
---
 src/sbbs3/newuser.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/sbbs3/newuser.cpp b/src/sbbs3/newuser.cpp
index df103b5dc2..ace665ee7f 100644
--- a/src/sbbs3/newuser.cpp
+++ b/src/sbbs3/newuser.cpp
@@ -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]) {
-- 
GitLab