aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
Diffstat (limited to 'twittperator.js')
-rw-r--r--twittperator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/twittperator.js b/twittperator.js
index b134f05..d7efe43 100644
--- a/twittperator.js
+++ b/twittperator.js
@@ -1911,7 +1911,7 @@ let PLUGIN_INFO =
return {
name:
- completer(function(s) ["@" + s.user.screen_name, s]),
+ completer(function(s) [s.user.screen_name, s]),
text:
completer(function(s) [removeNewLine(s.text), s]),
id:
@@ -2187,7 +2187,7 @@ let PLUGIN_INFO =
if (!subCmd)
return;
- context.offset += m[0] === "@" ? 0 : m[0].length;
+ context.offset += m[0].length;
let offset = context.offset;
subCmd.completer.forEach(function (completer, index) {