Fix the send callback using a undefined variable.

This commit is contained in:
poljar (Damir Jelić) 2018-02-01 15:02:50 +01:00
parent 57cc1b3e88
commit a7531839d1

View file

@ -381,7 +381,7 @@ def send_cb(server_name, file_descriptor):
server.send_fd_hook = None server.send_fd_hook = None
if server.send_buffer: if server.send_buffer:
try_send(server, send_buffer) try_send(server, server.send_buffer)
return W.WEECHAT_RC_OK return W.WEECHAT_RC_OK