Skip to content

Commit

Permalink
Fixed error when banning a user
Browse files Browse the repository at this point in the history
  • Loading branch information
karai17 committed Nov 26, 2016
1 parent 2366e2b commit c77fefa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/config_site.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local lfs = require "lfs"
return function(self)
-- Set basic information
self.software = "Lapis-chan"
self.version = "1.1.3"
self.version = "1.1.4"
self.site_name = config.site_name
self.text_size = _G.text_size

Expand Down
2 changes: 1 addition & 1 deletion utils/request_processor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ function process.ban_user(params, board)
end

-- Ban user
local ban, err = Bans:create_ban(self.params)
local ban, err = Bans:create_ban(params)
if err then
return false, err
end
Expand Down

0 comments on commit c77fefa

Please sign in to comment.