diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmumble.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmumble.c b/src/cmumble.c index 9447c9d..d2d60df 100644 --- a/src/cmumble.c +++ b/src/cmumble.c @@ -89,6 +89,8 @@ recv_server_sync(MumbleProto__ServerSync *sync, struct cmumble_context *ctx) { ctx->session = sync->session; + if (sync->welcome_text) + g_print("Welcome Message: %s\n", sync->welcome_text); g_print("got session: %d\n", ctx->session); } @@ -168,7 +170,6 @@ recv_user_state(MumbleProto__UserState *state, struct cmumble_context *ctx) ctx->users = g_list_prepend(ctx->users, user); } - static const struct { #define MUMBLE_MSG(a,b) void (* a)(MumbleProto__##a *, \ struct cmumble_context *); |