about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-12-17 21:51:19 -0600
committermultiple creatures <dev@multiple-creature.party>2019-12-17 21:51:19 -0600
commit8635ba66f4791ee38ed393b643e697b9e0e31e32 (patch)
treeaa54fa2e5b2dd4f3b961f133f05ff0e0f6ffede8 /app
parent5cd462c59ddac95dbdbabbbdf640018c7c42a12c (diff)
remove prefix from the `bangtag` bangtag
Diffstat (limited to 'app')
-rw-r--r--app/lib/bangtags.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb
index 54122b696..a9b7d747b 100644
--- a/app/lib/bangtags.rb
+++ b/app/lib/bangtags.rb
@@ -482,7 +482,7 @@ class Bangtags
 
           @post_cmds.push(['media', media_idx, media_cmd])
         when 'bangtag'
-          chunk = orig_chunk
+          chunk = orig_chunk.sub('bangtag:', '').gsub(':', ":\u200b")
         when 'join'
           chunk = nil
           next if cmd[1].nil?