summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xminiircd4
1 files changed, 2 insertions, 2 deletions
diff --git a/miniircd b/miniircd
index b2534a5..ba63820 100755
--- a/miniircd
+++ b/miniircd
@@ -40,10 +40,10 @@ PY3 = sys.version_info[0] >= 3
if PY3:
def buffer_to_socket(msg):
- return msg.encode('utf-8')
+ return msg.encode()
def socket_to_buffer(buf):
- return buf.decode('utf-8')
+ return buf.decode()
else:
def buffer_to_socket(msg):
return msg