aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorninjatottori2011-09-27 10:19:53 +0900
committerninjatottori2011-09-27 10:19:53 +0900
commit3aedc223ef6b29cc51666d7c190716210c28c7fd (patch)
treeda339e8334f6662917fe209b40d035893b4ee8c7
parent6932af572c45330f6104169752c40e65801756d6 (diff)
downloadvimperator-plugins-3aedc223ef6b29cc51666d7c190716210c28c7fd.tar.bz2
-link時にコメント入れないと投稿できなかったバグ修正。
-rw-r--r--facebook.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/facebook.js b/facebook.js
index ede5235..b9c4421 100644
--- a/facebook.js
+++ b/facebook.js
@@ -141,8 +141,7 @@ function setup(){ // access_token取得後 {{{
commands.addUserCommand(["facebook","fa"], "facebook util",
function(args){
- if(args[0])FB.post_to_wall(args);
-
+ if(args[0] || args["-link"])FB.post_to_wall(args);
},
{
options:[