From cd9d7d1ef951ab85bf87e7ff56b1180169d053c2 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Wed, 26 Aug 2009 19:46:20 +0100 Subject: /clearly shouldn't clear the window. --- libempathy-gtk/empathy-chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 9096beeae..118baff70 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -391,7 +391,7 @@ chat_send (EmpathyChat *chat, chat_sent_message_add (chat, msg); - if (g_str_has_prefix (msg, "/clear")) { + if (strcmp (msg, "/clear") == 0) { empathy_chat_view_clear (chat->view); return; } -- cgit v1.2.3