summaryrefslogtreecommitdiff
path: root/src/cmumble.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmumble.c')
-rw-r--r--src/cmumble.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmumble.c b/src/cmumble.c
index ca8830f..0246789 100644
--- a/src/cmumble.c
+++ b/src/cmumble.c
@@ -292,8 +292,9 @@ cmumble_protocol_init(struct cmumble *cm)
cmumble_init_version(&version);
version.version = 0x010203;
version.release = PACKAGE_STRING;
- version.os = "Gentoo/Linux";
+ version.os = cmumble_get_os_name();
cmumble_send_version(cm, &version);
+ g_free(version.os);
cmumble_init_authenticate(&authenticate);
authenticate.username = (char *) cm->user_name;