changeset 9375:49b7b30f6e4e

[gaim-migrate @ 10183] This is the rest of making ctrl-up work for /cmds. I forgot to hit save in my editor. It actually worked without this part, heh. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Thu, 24 Jun 2004 05:01:50 +0000
parents e4654f277514
children 3aa848ccf986
files src/conversation.c
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Thu Jun 24 04:58:34 2004 +0000
+++ b/src/conversation.c	Thu Jun 24 05:01:50 2004 +0000
@@ -156,7 +156,6 @@
 	char *displayed = NULL, *sent = NULL;
 	int plugin_return;
 	int err = 0;
-	GList *first;
 
 	if (strlen(message) == 0)
 		return;
@@ -168,15 +167,6 @@
 	type = gaim_conversation_get_type(conv);
 	ops  = gaim_conversation_get_ui_ops(conv);
 
-	first = g_list_first(conv->send_history);
-
-	if (first->data)
-		g_free(first->data);
-
-	first->data = g_strdup(message);
-
-	conv->send_history = g_list_prepend(first, NULL);
-
 	if (gc->flags & GAIM_CONNECTION_HTML)
 		displayed = gaim_markup_linkify(message);
 	else