summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmumble.c3
-rw-r--r--src/commands.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/cmumble.c b/src/cmumble.c
index 0246789..730695f 100644
--- a/src/cmumble.c
+++ b/src/cmumble.c
@@ -276,7 +276,9 @@ do_ping(struct cmumble *cm)
cmumble_init_ping(&ping);
g_get_current_time(&tv);
ping.timestamp = tv.tv_sec;
+ ping.has_timestamp = 1;
ping.resync = 1;
+ ping.has_resync = 1;
cmumble_send_ping(cm, &ping);
return TRUE;
@@ -291,6 +293,7 @@ cmumble_protocol_init(struct cmumble *cm)
cmumble_init_version(&version);
version.version = 0x010203;
+ version.has_version = 1;
version.release = PACKAGE_STRING;
version.os = cmumble_get_os_name();
cmumble_send_version(cm, &version);
diff --git a/src/commands.c b/src/commands.c
index 2db480d..832e0f3 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -103,6 +103,7 @@ msg(struct cmumble *cm,
cmumble_init_text_message(&message);
message.actor = cm->session;
+ message.has_actor = 1;
if (argc < 2) {
g_print("usage: msg message\n");