diff --git a/src/discord.c b/src/discord.c
index d28a6771a62a1e958869aaed0f10f0d7215121df..4ee5d0a32728298fa08a846d764ad0e3d63b16a9 100644
--- a/src/discord.c
+++ b/src/discord.c
@@ -65,7 +65,7 @@ static char self_ip[IP_SIZE];
 --------------------------------------------------*/
 static char *DRPC_XORIPString(const char *input)
 {
-	const UINT8 xor[IP_SIZE] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16};
+	const UINT8 xor[IP_SIZE] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21};
 	char *output = malloc(sizeof(char) * (IP_SIZE+1));
 	UINT8 i;