binary_message braucht 'bytes'
Anpassung an LDMud-3.6.x
Change-Id: Icf3a14902cfe63e753349d4a496edc87a9f83be0
diff --git a/std/player/protocols/gmcp.c b/std/player/protocols/gmcp.c
index d3a8407..b46ac48 100644
--- a/std/player/protocols/gmcp.c
+++ b/std/player/protocols/gmcp.c
@@ -132,8 +132,9 @@
private void GMCP_send(string cmd, mixed data)
{
GMCP_DEBUG("GMCP_send",sprintf("%s %O",cmd,data), 30);
- send_telnet_neg_str(sprintf("%c%c%s %s", SB, TELOPT_GMCP,
- cmd, json_serialize(data)), 1);
+ send_telnet_neg_str(to_bytes(
+ sprintf("%c%c%s %s", SB, TELOPT_GMCP,
+ cmd, json_serialize(data)),"ASCII//TRANSLIT"), 1);
}
private void GMCP_unregister_module(string mod)