aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2009-08-27 02:46:20 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2009-08-28 04:16:52 +0800
commitcd9d7d1ef951ab85bf87e7ff56b1180169d053c2 (patch)
treee3d4078b522fe10d6d037107c358ca4492dc0ce0
parent1c6faef3890bc3819bcc44299cff20e021fc3717 (diff)
downloadgsoc2013-empathy-cd9d7d1ef951ab85bf87e7ff56b1180169d053c2.tar
gsoc2013-empathy-cd9d7d1ef951ab85bf87e7ff56b1180169d053c2.tar.gz
gsoc2013-empathy-cd9d7d1ef951ab85bf87e7ff56b1180169d053c2.tar.bz2
gsoc2013-empathy-cd9d7d1ef951ab85bf87e7ff56b1180169d053c2.tar.lz
gsoc2013-empathy-cd9d7d1ef951ab85bf87e7ff56b1180169d053c2.tar.xz
gsoc2013-empathy-cd9d7d1ef951ab85bf87e7ff56b1180169d053c2.tar.zst
gsoc2013-empathy-cd9d7d1ef951ab85bf87e7ff56b1180169d053c2.zip
/clearly shouldn't clear the window.
-rw-r--r--libempathy-gtk/empathy-chat.c2
1 files changed, 1 insertions, 1 deletions
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;
}