Don't proxy blank messages

This commit is contained in:
Ske 2018-07-14 23:31:44 +02:00
parent ae52d8bfa4
commit af4f2025da

View File

@ -164,6 +164,8 @@ async def handle_proxying(conn, message):
# Slicing to -0 breaks, don't do that
inner_message = msg[len(prefix):].strip()
# Make sure the message isn't blank
if inner_message:
await proxy_message(conn, member, message, inner_message)
break