diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-08-15 10:58:07 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-08-15 10:58:07 -0500 |
commit | 5ae918d968bf459b396fc876ae2f4d6fd6eaa964 (patch) | |
tree | 74ab24265ee2a5bf083dab437f89cde5e63bb6a1 /app | |
parent | ad81a82ea44931e70cd86230cb92a8f791d8d6d0 (diff) |
add cw to moderation bangtags if missing
Diffstat (limited to 'app')
-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 3934e5bb1..23bdfa61f 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -692,6 +692,7 @@ class Bangtags @chunks << "\n# <code>#!</code><code>admin:#{cmd[1].downcase}</code>:\n<hr />\n" case cmd[1].downcase when 'silence', 'unsilence', 'suspend', 'unsuspend', 'force_unlisted', 'allow_public', 'force_sensitive', 'allow_nonsensitive', 'reset', 'forgive' + @status.spoiler_text = "admin #{cmd[1].downcase}" if @status.spoiler_text.blank? @tf_cmds.push(cmd) @component_stack.push(:tf) when 'exec', 'eval' |