about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-23 17:28:39 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-23 17:28:39 -0500
commita73ec02673aae8abb57c47625251b30df64c0e4a (patch)
tree0e66f5d7fa2622533931870927f20cd92271bb97 /app
parent3862f48c34a00691a12c6002abd88b088cf7c13e (diff)
set visibility of `admin` bangtags to local & tag with `#monsterpit.admin`
Diffstat (limited to 'app')
-rw-r--r--app/lib/bangtags.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb
index 3ed56806a..2b8336b49 100644
--- a/app/lib/bangtags.rb
+++ b/app/lib/bangtags.rb
@@ -603,8 +603,9 @@ class Bangtags
           chunk = nil
           next unless @account.user.admin?
           next if cmd[1].nil?
-          @status.visibility = :direct
+          @status.visibility = :local
           @status.local_only = true
+          add_tags(@status, 'monsterpit.admin')
           @status.content_type = 'text/markdown'
           @chunks << "\n# <code>#!</code><code>admin:#{cmd[1].downcase}</code>:\n<hr />\n"
           case cmd[1].downcase