diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-23 17:28:39 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-23 17:28:39 -0500 |
commit | a73ec02673aae8abb57c47625251b30df64c0e4a (patch) | |
tree | 0e66f5d7fa2622533931870927f20cd92271bb97 /app | |
parent | 3862f48c34a00691a12c6002abd88b088cf7c13e (diff) |
set visibility of `admin` bangtags to local & tag with `#monsterpit.admin`
Diffstat (limited to 'app')
-rw-r--r-- | app/lib/bangtags.rb | 3 |
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 |