diff --git a/matrix/server.py b/matrix/server.py index f2e7130..099fe98 100644 --- a/matrix/server.py +++ b/matrix/server.py @@ -381,7 +381,7 @@ def send_cb(server_name, file_descriptor): server.send_fd_hook = None if server.send_buffer: - try_send(server, send_buffer) + try_send(server, server.send_buffer) return W.WEECHAT_RC_OK