Update copyright year.
[umurmur.git] / src / messages.c
index c8dfb5d9a0f15ef8c092c3a902cbaa86d247e4a9..893708acec63a04ffeb40e4990dec1a3345821b5 100644 (file)
@@ -1,5 +1,5 @@
-/* Copyright (C) 2009-2011, Martin Johansson <martin@fatbob.nu>
-   Copyright (C) 2005-2011, Thorvald Natvig <thorvald@natvig.com>
+/* Copyright (C) 2009-2012, Martin Johansson <martin@fatbob.nu>
+   Copyright (C) 2005-2012, Thorvald Natvig <thorvald@natvig.com>
 
    All rights reserved.
 
@@ -749,6 +749,15 @@ message_t *Msg_networkToMessage(uint8_t *data, int size)
                        goto err_out;
                break;
        }
+       case UserRemove:
+       {
+               msg = Msg_create_nopayload(UserRemove);
+               msg->unpacked = true;
+               msg->payload.userRemove = mumble_proto__user_remove__unpack(NULL, msgLen, msgData);
+               if (msg->payload.userRemove == NULL)
+                       goto err_out;
+               break;
+       }
 
        default:
                Log_warn("Unsupported message %d", messageType);