From f5c5ec000d5fd368e9679f435c91148a529d5f5f Mon Sep 17 00:00:00 2001
From: James R <justsomejames2@gmail.com>
Date: Mon, 13 Jul 2020 08:59:41 -0700
Subject: [PATCH] Use SRB2VERSION here...

---
 src/http-mserv.c | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/src/http-mserv.c b/src/http-mserv.c
index 99636fbe84..47c2b5b0f7 100644
--- a/src/http-mserv.c
+++ b/src/http-mserv.c
@@ -385,15 +385,13 @@ HMS_register (void)
 	snprintf(post, sizeof post,
 			"port=%d&"
 			"title=%s&"
-			"version=%d.%d.%d",
+			"version=%s",
 
 			current_port,
 
 			title,
 
-			VERSION/100,
-			VERSION%100,
-			SUBVERSION
+			SRB2VERSION
 	);
 
 	curl_free(title);
@@ -528,10 +526,8 @@ HMS_fetch_servers (msg_server_t *list, int room_number, int query_id)
 		doing_shit = 1;
 
 		snprintf(local_version, sizeof local_version,
-				"%d.%d.%d",
-				VERSION/100,
-				VERSION%100,
-				SUBVERSION
+				"%s",
+				SRB2VERSION
 		);
 
 		p = hms->buffer;
-- 
GitLab