1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Add missing command name for completion log

This commit is contained in:
Paul Fariello 2018-09-10 11:30:46 +02:00
parent f0f973fcb4
commit b7556b4e41

View File

@ -737,7 +737,7 @@ iq_submit_command_config(ProfConfWin *confwin)
xmpp_stanza_t *iq = stanza_create_command_config_submit_iq(ctx, confwin->roomjid, data->command, data->sessionid, confwin->form);
const char *id = xmpp_stanza_get_id(iq);
iq_id_handler_add(id, _command_exec_response_handler, NULL, NULL);
iq_id_handler_add(id, _command_exec_response_handler, free, strdup(data->command));
iq_send_stanza(iq);
xmpp_stanza_release(iq);