summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xminiircd2
1 files changed, 1 insertions, 1 deletions
diff --git a/miniircd b/miniircd
index 2dec14c..0be254d 100755
--- a/miniircd
+++ b/miniircd
@@ -43,7 +43,7 @@ if PY3:
return msg.encode()
def socket_to_buffer(buf):
- return buf.decode()
+ return buf.decode(errors="ignore")
else:
def buffer_to_socket(msg):
return msg