diff --git a/src/hms123311.c b/src/hms123311.c index b7db4d909..1ce7a4dde 100644 --- a/src/hms123311.c +++ b/src/hms123311.c @@ -346,13 +346,14 @@ HMS_register (void) snprintf(post, sizeof post, "port=%d&" "title=%s&" - "version=%d.%d", + "version=%d.%d.%d", current_port, title, - VERSION, + VERSION/100, + VERSION%100, SUBVERSION ); @@ -488,8 +489,9 @@ HMS_fetch_servers (msg_server_t *list, int room_number, int query_id) doing_shit = 1; snprintf(local_version, sizeof local_version, - "%d.%d", - VERSION, + "%d.%d.%d", + VERSION/100, + VERSION%100, SUBVERSION );