changeset 274:934c4b053247

fixed a breakage which had prevented post to twitter.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 12 Dec 2008 22:43:48 +0900
parents add1e454b87f
children 986f949c741b
files main.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main.c	Fri Dec 12 22:00:57 2008 +0900
+++ b/main.c	Fri Dec 12 22:43:48 2008 +0900
@@ -115,11 +115,11 @@
     g_free(plain);
 
     /* return here if the message is not to twitter */
-    if(!twitter_service)
+    if(service != twitter_service)
         return FALSE;
 
     /* escape pseudo command */
-    if(twitter_service &&
+    if(service == twitter_service &&
        purple_prefs_get_bool(OPT_ESCAPE_PSEUDO)) {
         escape(buffer);
     }