aboutsummaryrefslogtreecommitdiffstats
path: root/mixiecho.js
diff options
context:
space:
mode:
Diffstat (limited to 'mixiecho.js')
-rw-r--r--mixiecho.js7
1 files changed, 3 insertions, 4 deletions
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
}