mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 16:23:14 +02:00
relay/remote: run callback based on event name instead of body type
This commit is contained in:
@@ -122,7 +122,7 @@ relay_api_protocol_signal_buffer_cb (const void *pointer, void *data,
|
||||
RELAY_API_DATA(ptr_client, buffers_closing),
|
||||
ptr_buffer);
|
||||
}
|
||||
relay_api_msg_send_event (ptr_client, signal, buffer_id, "buffer", NULL);
|
||||
relay_api_msg_send_event (ptr_client, signal, buffer_id, NULL, NULL);
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user