diff main.c @ 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 7aad61f56c48
children 2d559555875f
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);
     }