Skip to content

Commit

Permalink
Can't sub in integers
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtOfCode- committed Nov 16, 2018
1 parent 7493cbb commit 88cfde8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/deletion_log.rb
Expand Up @@ -36,7 +36,7 @@ def self.auto_other_flag(dl = nil, post = nil)
'not to have been spam. Please review whether spam flags - and the penalty that comes with them - are appropriate for this '\
'post - you can let us know in https://chat.stackexchange.com/rooms/11540 if the flags were inappropriate. '\
"If you're wondering WTF this flag is, see https://charcoal-se.org/smokey/Auto-Mod-Flags for details."
comment = comment_template.gsub('{flags}', post.flag_logs.manual.successful.count)
comment = comment_template.gsub('{flags}', post.flag_logs.manual.successful.count.to_s)
smokey = User.find(-1)
status, message = smokey.other_flag(post, comment)
FlagLog.create(
Expand Down

0 comments on commit 88cfde8

Please sign in to comment.