diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-04-19 14:10:57 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:22 -0500 |
commit | a230a6038bae4cccb3f456ad25acf47cc5cf1ea8 (patch) | |
tree | f333a3f0535e65ddc7749a672822c6c21b7e80b6 /app/lib | |
parent | 4088e0a6481546419d8a8714dea1a94ae4e84a8b (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.rb | 1 |
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] |