]> git.0d.be Git - empathy.git/commitdiff
/clearly shouldn't clear the window.
authorWill Thompson <will.thompson@collabora.co.uk>
Wed, 26 Aug 2009 18:46:20 +0000 (19:46 +0100)
committerWill Thompson <will.thompson@collabora.co.uk>
Thu, 27 Aug 2009 20:16:52 +0000 (21:16 +0100)
libempathy-gtk/empathy-chat.c

index 9096beeae86446f4c782497958874b86dc709143..118baff701b6bf70cb193d42610700d3e0646210 100644 (file)
@@ -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;
        }