aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
Diffstat (limited to 'twittperator.js')
-rw-r--r--twittperator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/twittperator.js b/twittperator.js
index ccf0556..d250d91 100644
--- a/twittperator.js
+++ b/twittperator.js
@@ -1892,7 +1892,7 @@ let PLUGIN_INFO =
"^" +
this.command.map(function(c)
let (r = util.escapeRegex(c))
- (/^\W$/(c) ? r : r + " ")
+ (/^\W$/(c) ? r : r + "( |$)")
).join("|")
);
},