Fix non reverted change on TOSERVER_BREATH compat
authorLoic Blot <loic.blot@unix-experience.fr>
Sun, 1 Jan 2017 22:57:37 +0000 (23:57 +0100)
committerLoic Blot <loic.blot@unix-experience.fr>
Sun, 1 Jan 2017 22:57:37 +0000 (23:57 +0100)
src/network/clientopcodes.cpp

index 6defdcf1be746bcdfb01373fedc5fa2c7f2771c3..cee402acd7ea32b57f15ae4ec3a41e82ea7658c1 100644 (file)
@@ -193,7 +193,7 @@ const ServerCommandFactory serverCommandFactoryTable[TOSERVER_NUM_MSG_TYPES] =
        null_command_factory, // 0x3f
        { "TOSERVER_REQUEST_MEDIA",      1, true }, // 0x40
        { "TOSERVER_RECEIVED_MEDIA",     1, true }, // 0x41
-       null_command_factory, // 0x42 old TOSERVER_BREATH. Ignored by servers
+       { "TOSERVER_BREATH",             0, true }, // 0x42 old TOSERVER_BREATH. Ignored by servers
        { "TOSERVER_CLIENT_READY",       0, true }, // 0x43
        null_command_factory, // 0x44
        null_command_factory, // 0x45