From 9f691e05aae8b0ad1c4f3fe559b0f2f2c9559ea2 Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 27 Aug 2009 12:37:51 +0000 Subject: Follow HEAD for http://vimperator.org/trac/gitweb/?p=liberator.git;a=commit;h=f20c2b315bb05c2e88d0c672f07dc229cc9267d2 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35099 d0d07461-0603-4401-acd4-de1884942a52 --- mixiecho.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'mixiecho.js') diff --git a/mixiecho.js b/mixiecho.js index 953588f..2f27b7c 100644 --- a/mixiecho.js +++ b/mixiecho.js @@ -111,12 +111,11 @@ xhr.send(params.join('&')); } commands.addUserCommand(["mixiecho"], "Change mixi echo", - function(arg, special){ - arg = arg.string; - if (special || arg.length == 0) + function(arg){ + if (arg.bang || arg.string.length == 0) showFollowersStatus() else - sayEcho(arg); + sayEcho(arg.string); },{ bang: true } -- cgit v1.2.3