diff options
-rw-r--r-- | src/cmumble.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmumble.c b/src/cmumble.c index d0096b0..259559c 100644 --- a/src/cmumble.c +++ b/src/cmumble.c @@ -154,6 +154,12 @@ recv_user_state(MumbleProto__UserState *state, struct cmumble *cm) { struct cmumble_user *user = NULL; + if (!state->has_session) { + if (cm->verbose) + g_print("%s: no session", __func__); + return; + } + user = find_user(cm, state->session); if (user) { /* update */ |