1
0
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:
Sébastien Helleu
2024-05-04 13:43:03 +02:00
parent 6321669cd5
commit ccf23ae51e
3 changed files with 73 additions and 52 deletions
+1 -1
View File
@@ -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;
}