Remaining fixes to mod actions on user feedbacks and IP bans

This commit is contained in:
Type-kun
2017-01-16 18:21:09 +05:00
parent 56b2f95a1a
commit 5ce26c2e52
2 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ class IpBan < ActiveRecord::Base
ModAction.log("#{CurrentUser.name} created ip ban for #{rec.ip_addr}")
end
after_destroy do |rec|
ModAction.log("#{CurrentUser.name} deleted ip ban for ##{rec.ip_addr}")
ModAction.log("#{CurrentUser.name} deleted ip ban for #{rec.ip_addr}")
end
def self.is_banned?(ip_addr)