about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-19 14:10:57 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commita230a6038bae4cccb3f456ad25acf47cc5cf1ea8 (patch)
treef333a3f0535e65ddc7749a672822c6c21b7e80b6 /app/lib
parent4088e0a6481546419d8a8714dea1a94ae4e84a8b (diff)
Make sure that local-only tokens still get detected when signature is enabled.
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/bangtags.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb
index 1ef818e8d..d1a179a76 100644
--- a/app/lib/bangtags.rb
+++ b/app/lib/bangtags.rb
@@ -379,6 +379,7 @@ class Bangtags
         next if name.blank?
         description = @vars["_they:are:#{name}"]
         next if description.blank?
+        status.local_only = true if Status::LOCAL_ONLY_TOKENS.match?(@chunks.last)
         @chunks << "\n\n---\n– #{description}"
       when 'media'
         media_idx = post_cmd[1]