Added static functions to commands.c for sending messages

This commit is contained in:
James Booth
2015-03-16 01:29:03 +00:00
parent e7e1688d8a
commit 981618b7da
2 changed files with 35 additions and 31 deletions

View File

@@ -906,7 +906,6 @@ win_print_with_receipt(ProfWin *window, const char show_char, GTimeVal *tstamp,
DeliveryReceipt *receipt = malloc(sizeof(struct delivery_receipt_t));
receipt->id = strdup(id);
receipt->received = FALSE;
free(id);
buffer_push(window->layout->buffer, show_char, time, flags, theme_item, from, message, receipt);
_win_print(window, show_char, time, flags, theme_item, from, message, receipt);